diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-25 14:14:27 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-27 07:55:16 -0400 |
commit | 007c0ecd50846900eaa7b8ea2fde08c83746abda (patch) | |
tree | 83dabc69d240b41a0fbecd6a3f80e723cd206240 /test/e2e/ps_test.go | |
parent | 03d01abec6d028e9d5f60615b0451e42d0611d1d (diff) | |
download | podman-007c0ecd50846900eaa7b8ea2fde08c83746abda.tar.gz podman-007c0ecd50846900eaa7b8ea2fde08c83746abda.tar.bz2 podman-007c0ecd50846900eaa7b8ea2fde08c83746abda.zip |
Remove SkipIfRootless if possible, document other calls
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/ps_test.go')
-rw-r--r-- | test/e2e/ps_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go index f6640906a..aabec4f55 100644 --- a/test/e2e/ps_test.go +++ b/test/e2e/ps_test.go @@ -400,18 +400,17 @@ var _ = Describe("Podman ps", func() { }) It("podman ps test with port range", func() { - SkipIfRootless() session := podmanTest.RunTopContainer("") session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - session = podmanTest.Podman([]string{"run", "-dt", "-p", "1000-1006:1000-1006", ALPINE, "top"}) + session = podmanTest.Podman([]string{"run", "-dt", "-p", "2000-2006:2000-2006", ALPINE, "top"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) session = podmanTest.Podman([]string{"ps", "--format", "{{.Ports}}"}) session.WaitWithDefaultTimeout() - Expect(session.OutputToString()).To(ContainSubstring("0.0.0.0:1000-1006")) + Expect(session.OutputToString()).To(ContainSubstring("0.0.0.0:2000-2006")) }) It("podman ps sync flag", func() { |