diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-22 12:33:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 12:33:45 -0400 |
commit | 420ff1da921e284b80ac3724408a21bba102a533 (patch) | |
tree | 5932b5ce036a40380c9fc6738bc1313152a15f0a /test/e2e/inspect_test.go | |
parent | ad8f72949a4d61991a6bb7f0eb826e59b733e515 (diff) | |
parent | 5acf8ae120518cd69437bee778c5fa4ba03eff9b (diff) | |
download | podman-420ff1da921e284b80ac3724408a21bba102a533.tar.gz podman-420ff1da921e284b80ac3724408a21bba102a533.tar.bz2 podman-420ff1da921e284b80ac3724408a21bba102a533.zip |
Merge pull request #11694 from edsantiago/prevent_port_collisions
Eighty-six eighty-eighty
Diffstat (limited to 'test/e2e/inspect_test.go')
-rw-r--r-- | test/e2e/inspect_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/inspect_test.go b/test/e2e/inspect_test.go index 12165d92d..63a54a5ca 100644 --- a/test/e2e/inspect_test.go +++ b/test/e2e/inspect_test.go @@ -451,14 +451,14 @@ var _ = Describe("Podman inspect", func() { It("podman inspect --format json .NetworkSettings.Ports", func() { ctnrName := "Ctnr_" + RandomString(25) - create := podmanTest.Podman([]string{"create", "--name", ctnrName, "-p", "8080:80", ALPINE}) + create := podmanTest.Podman([]string{"create", "--name", ctnrName, "-p", "8084:80", ALPINE}) create.WaitWithDefaultTimeout() Expect(create).Should(Exit(0)) inspect := podmanTest.Podman([]string{"inspect", `--format="{{json .NetworkSettings.Ports}}"`, ctnrName}) inspect.WaitWithDefaultTimeout() Expect(inspect).Should(Exit(0)) - Expect(inspect.OutputToString()).To(Equal(`"{"80/tcp":[{"HostIp":"","HostPort":"8080"}]}"`)) + Expect(inspect.OutputToString()).To(Equal(`"{"80/tcp":[{"HostIp":"","HostPort":"8084"}]}"`)) }) It("Verify container inspect has default network", func() { |