summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-15 11:02:36 +0000
committerGitHub <noreply@github.com>2021-08-15 11:02:36 +0000
commit5592ac9e236191da654619d1c8505420187766b4 (patch)
tree8c912ac25388be644b04082d09ac73f75768c67e /test
parent94886d4abad7787cb920614ed26955ca36b13846 (diff)
parentbef26f2582733c23957a863bc0769a618ab773a8 (diff)
downloadpodman-5592ac9e236191da654619d1c8505420187766b4.tar.gz
podman-5592ac9e236191da654619d1c8505420187766b4.tar.bz2
podman-5592ac9e236191da654619d1c8505420187766b4.zip
Merge pull request #11219 from baude/oneshottoonce
rename oneshot initcontainers to once
Diffstat (limited to 'test')
-rw-r--r--test/e2e/pod_initcontainers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/pod_initcontainers_test.go b/test/e2e/pod_initcontainers_test.go
index 606294f51..11e7ca400 100644
--- a/test/e2e/pod_initcontainers_test.go
+++ b/test/e2e/pod_initcontainers_test.go
@@ -98,10 +98,10 @@ var _ = Describe("Podman init containers", func() {
Expect(checkLog.OutputToString()).To(Equal(content))
})
- It("podman make sure oneshot container is removed", func() {
+ It("podman make sure once container is removed", func() {
filename := filepath.Join("/dev/shm", RandomString(12))
content := RandomString(16)
- session := podmanTest.Podman([]string{"create", "--init-ctr", "oneshot", "--pod", "new:foobar", ALPINE, "bin/sh", "-c", fmt.Sprintf("echo %s > %s", content, filename)})
+ session := podmanTest.Podman([]string{"create", "--init-ctr", "once", "--pod", "new:foobar", ALPINE, "bin/sh", "-c", fmt.Sprintf("echo %s > %s", content, filename)})
session.WaitWithDefaultTimeout()
initContainerID := session.OutputToString()
Expect(session).Should(Exit(0))