summaryrefslogtreecommitdiff
path: root/test/e2e/pod_create_test.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-11-08 14:29:44 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-11-15 12:53:25 +0100
commit5934e4c9b50020e0099a71233ae4f9ba9356215f (patch)
tree5bb45e72e727080a10574b6be60b881fb3a34d6f /test/e2e/pod_create_test.go
parent58cf0d4622ea280382dccdb527c483afd3f16562 (diff)
downloadpodman-5934e4c9b50020e0099a71233ae4f9ba9356215f.tar.gz
podman-5934e4c9b50020e0099a71233ae4f9ba9356215f.tar.bz2
podman-5934e4c9b50020e0099a71233ae4f9ba9356215f.zip
infra container: replace pause with catatonit
Podman has been using catatonit for a number of years already. Thanks to @giuseppe, catatonit is now able to run as a pause process which allows us to replace the pause binary entirely. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/e2e/pod_create_test.go')
-rw-r--r--test/e2e/pod_create_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/pod_create_test.go b/test/e2e/pod_create_test.go
index 12aeffd1b..f5a2caad7 100644
--- a/test/e2e/pod_create_test.go
+++ b/test/e2e/pod_create_test.go
@@ -369,13 +369,13 @@ var _ = Describe("Podman pod create", func() {
check1 := podmanTest.Podman([]string{"container", "inspect", "--format", "{{.Config.Entrypoint}}", data.Containers[0].ID})
check1.WaitWithDefaultTimeout()
Expect(check1).Should(Exit(0))
- Expect(check1.OutputToString()).To(Equal("/pause"))
+ Expect(check1.OutputToString()).To(Equal("/catatonit -P"))
// check the Path and Args
check2 := podmanTest.Podman([]string{"container", "inspect", "--format", "{{.Path}}:{{.Args}}", data.Containers[0].ID})
check2.WaitWithDefaultTimeout()
Expect(check2).Should(Exit(0))
- Expect(check2.OutputToString()).To(Equal("/pause:[/pause]"))
+ Expect(check2.OutputToString()).To(Equal("/catatonit:[-P]"))
})
It("podman create pod with --infra-command", func() {