summaryrefslogtreecommitdiff
path: root/test/e2e/run_networking_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-06 19:52:42 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-09 16:13:20 +0000
commita8092a105b493f3c7f9ee063aa2ca035bc7f9be8 (patch)
tree26678f4ce2991052ad81ecd60d7587be9fdb2caf /test/e2e/run_networking_test.go
parentfa9658cbfaa94fd5d0425041404e498c01db1aa3 (diff)
downloadpodman-a8092a105b493f3c7f9ee063aa2ca035bc7f9be8.tar.gz
podman-a8092a105b493f3c7f9ee063aa2ca035bc7f9be8.tar.bz2
podman-a8092a105b493f3c7f9ee063aa2ca035bc7f9be8.zip
Rework port code
Rework port code for generalized clean up and to address issue #269 where additional portbindings between host and containers we being introduced by error. Signed-off-by: baude <bbaude@redhat.com> Closes: #308 Approved by: mheon
Diffstat (limited to 'test/e2e/run_networking_test.go')
-rw-r--r--test/e2e/run_networking_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go
index 68be154f5..b56b11634 100644
--- a/test/e2e/run_networking_test.go
+++ b/test/e2e/run_networking_test.go
@@ -47,7 +47,7 @@ var _ = Describe("Podman rmi", func() {
})
It("podman run network expose port 222", func() {
- session := podmanTest.Podman([]string{"run", "-dt", "--expose", "222-223", ALPINE, "/bin/sh"})
+ session := podmanTest.Podman([]string{"run", "-dt", "--expose", "222-223", "-P", ALPINE, "/bin/sh"})
session.Wait(30)
Expect(session.ExitCode()).To(Equal(0))
results := podmanTest.SystemExec("iptables", []string{"-t", "nat", "-L"})