diff options
author | Ed Santiago <santiago@redhat.com> | 2022-08-29 12:23:08 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-08-29 14:11:46 -0600 |
commit | a240146a2d73c78c6fb2382a9d4be91e026802db (patch) | |
tree | 2233b7bcdff024bddf13c6f8654553cea9411d14 /test/e2e/play_kube_test.go | |
parent | 468aa6478c73e4acd8708ce8bb0bb5a056f329c2 (diff) | |
download | podman-a240146a2d73c78c6fb2382a9d4be91e026802db.tar.gz podman-a240146a2d73c78c6fb2382a9d4be91e026802db.tar.bz2 podman-a240146a2d73c78c6fb2382a9d4be91e026802db.zip |
e2e tests: try to deflake 5000
We keep getting flakes in tests that use port 5000. Try to
find and fix, by switching ports where possible, and locking
5000 when not possible (or not easy) to switch.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/play_kube_test.go')
-rw-r--r-- | test/e2e/play_kube_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go index 1b4eefd45..7d3a2224c 100644 --- a/test/e2e/play_kube_test.go +++ b/test/e2e/play_kube_test.go @@ -2482,7 +2482,7 @@ spec: It("podman play kube test with network portbindings", func() { ip := "127.0.0.100" - port := "5000" + port := "8087" ctr := getCtr(withHostIP(ip, port), withImage(BB)) pod := getPod(withCtr(ctr)) @@ -2496,7 +2496,7 @@ spec: inspect := podmanTest.Podman([]string{"port", getCtrNameInPod(pod)}) inspect.WaitWithDefaultTimeout() Expect(inspect).Should(Exit(0)) - Expect(inspect.OutputToString()).To(Equal("5000/tcp -> 127.0.0.100:5000")) + Expect(inspect.OutputToString()).To(Equal("8087/tcp -> 127.0.0.100:8087")) }) It("podman play kube test with nonexistent empty HostPath type volume", func() { |