summaryrefslogtreecommitdiff
path: root/test/e2e/pod_kill_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/pod_kill_test.go')
-rw-r--r--test/e2e/pod_kill_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/pod_kill_test.go b/test/e2e/pod_kill_test.go
index 7cf67bbfc..a3efec46c 100644
--- a/test/e2e/pod_kill_test.go
+++ b/test/e2e/pod_kill_test.go
@@ -36,7 +36,7 @@ var _ = Describe("Podman pod kill", func() {
It("podman pod kill bogus", func() {
session := podmanTest.Podman([]string{"pod", "kill", "foobar"})
session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(Not(Equal(0)))
+ Expect(session).To(ExitWithError())
})
It("podman pod kill a pod by id", func() {