summaryrefslogtreecommitdiff
path: root/test/e2e/kill_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/kill_test.go')
-rw-r--r--test/e2e/kill_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/e2e/kill_test.go b/test/e2e/kill_test.go
index c0ee3dab9..4b5cf72b6 100644
--- a/test/e2e/kill_test.go
+++ b/test/e2e/kill_test.go
@@ -35,7 +35,7 @@ var _ = Describe("Podman kill", func() {
})
It("podman kill a running container by id", func() {
- session := podmanTest.RunSleepContainer("")
+ session := podmanTest.RunTopContainer("")
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
cid := session.OutputToString()
@@ -48,7 +48,7 @@ var _ = Describe("Podman kill", func() {
})
It("podman kill a running container by id with TERM", func() {
- session := podmanTest.RunSleepContainer("")
+ session := podmanTest.RunTopContainer("")
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
cid := session.OutputToString()
@@ -60,7 +60,7 @@ var _ = Describe("Podman kill", func() {
})
It("podman kill a running container by name", func() {
- session := podmanTest.RunSleepContainer("test1")
+ session := podmanTest.RunTopContainer("test1")
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -71,7 +71,7 @@ var _ = Describe("Podman kill", func() {
})
It("podman kill a running container by id with a bogus signal", func() {
- session := podmanTest.RunSleepContainer("")
+ session := podmanTest.RunTopContainer("")
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
cid := session.OutputToString()
@@ -83,7 +83,7 @@ var _ = Describe("Podman kill", func() {
})
It("podman kill latest container", func() {
- session := podmanTest.RunSleepContainer("")
+ session := podmanTest.RunTopContainer("")
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))