summaryrefslogtreecommitdiff
path: root/test/e2e/pod_kill_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-22 10:08:28 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-22 16:55:37 -0400
commita277b7eb0bedd24eecede1c88e58fce2dea89991 (patch)
tree6c2441ebfc39e040488de4c46b7c3a25f978b345 /test/e2e/pod_kill_test.go
parenta8917996c43a5149eba0220cebc080148908cd4a (diff)
downloadpodman-a277b7eb0bedd24eecede1c88e58fce2dea89991.tar.gz
podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.tar.bz2
podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.zip
Examine all SkipIfRemote functions
Remove ones that are not needed. Document those that should be there. Document those that should be fixed. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/pod_kill_test.go')
-rw-r--r--test/e2e/pod_kill_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/e2e/pod_kill_test.go b/test/e2e/pod_kill_test.go
index d7462e16d..f968f73a6 100644
--- a/test/e2e/pod_kill_test.go
+++ b/test/e2e/pod_kill_test.go
@@ -100,7 +100,6 @@ var _ = Describe("Podman pod kill", func() {
})
It("podman pod kill latest pod", func() {
- SkipIfRemote()
_, ec, podid := podmanTest.CreatePod("")
Expect(ec).To(Equal(0))
@@ -118,8 +117,10 @@ var _ = Describe("Podman pod kill", func() {
session = podmanTest.RunTopContainerInPod("", podid2)
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
-
- result := podmanTest.Podman([]string{"pod", "kill", "-l"})
+ if !IsRemote() {
+ podid2 = "-l"
+ }
+ result := podmanTest.Podman([]string{"pod", "kill", podid2})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(1))