aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/pod_create_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-03-19 09:55:21 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-03-19 15:01:53 +0100
commitb581fa1510f00864386859dd30f5392c6a521c0c (patch)
tree6fa3cd6c3279485dfbf6aebd2e542e440296d74b /test/e2e/pod_create_test.go
parentab576e8577b6cc95aebf4afb84d104cb74ea8717 (diff)
downloadpodman-b581fa1510f00864386859dd30f5392c6a521c0c.tar.gz
podman-b581fa1510f00864386859dd30f5392c6a521c0c.tar.bz2
podman-b581fa1510f00864386859dd30f5392c6a521c0c.zip
tests: re-enable some tests for rootless mode
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/pod_create_test.go')
-rw-r--r--test/e2e/pod_create_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/e2e/pod_create_test.go b/test/e2e/pod_create_test.go
index 033bfbe76..de0734e9f 100644
--- a/test/e2e/pod_create_test.go
+++ b/test/e2e/pod_create_test.go
@@ -99,9 +99,8 @@ var _ = Describe("Podman pod create", func() {
})
It("podman create pod with network portbindings", func() {
- SkipIfRootless()
name := "test"
- session := podmanTest.Podman([]string{"pod", "create", "--name", name, "-p", "80:80"})
+ session := podmanTest.Podman([]string{"pod", "create", "--name", name, "-p", "8080:80"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
pod := session.OutputToString()
@@ -110,7 +109,7 @@ var _ = Describe("Podman pod create", func() {
webserver.WaitWithDefaultTimeout()
Expect(webserver.ExitCode()).To(Equal(0))
- check := SystemExec("nc", []string{"-z", "localhost", "80"})
+ check := SystemExec("nc", []string{"-z", "localhost", "8080"})
Expect(check.ExitCode()).To(Equal(0))
})