summaryrefslogtreecommitdiff
path: root/test/e2e/pod_initcontainers_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-05 13:50:37 +0100
committerGitHub <noreply@github.com>2022-01-05 13:50:37 +0100
commit6902d9d9093e1d977ba733a182969bea3489dfbe (patch)
treeaa17df86740a5c203fa848afe89faa1fd047533c /test/e2e/pod_initcontainers_test.go
parentec9d67b7e4dc1ee7f289dcb768e9285dd40e0e43 (diff)
parent79c5b73ed78b3ccfd0e790b5b5195e55f790226b (diff)
downloadpodman-6902d9d9093e1d977ba733a182969bea3489dfbe.tar.gz
podman-6902d9d9093e1d977ba733a182969bea3489dfbe.tar.bz2
podman-6902d9d9093e1d977ba733a182969bea3489dfbe.zip
Merge pull request #12744 from kolyshkin/fix-flake
Fix test flake in test/e2e/pod_initcontainers
Diffstat (limited to 'test/e2e/pod_initcontainers_test.go')
-rw-r--r--test/e2e/pod_initcontainers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/pod_initcontainers_test.go b/test/e2e/pod_initcontainers_test.go
index 11e7ca400..e73f28a7a 100644
--- a/test/e2e/pod_initcontainers_test.go
+++ b/test/e2e/pod_initcontainers_test.go
@@ -135,7 +135,7 @@ var _ = Describe("Podman init containers", func() {
filename := filepath.Join("/dev/shm", RandomString(12))
// Write the date to a file
- session := podmanTest.Podman([]string{"create", "--init-ctr", "always", "--pod", "new:foobar", ALPINE, "bin/sh", "-c", fmt.Sprintf("date > %s", filename)})
+ session := podmanTest.Podman([]string{"create", "--init-ctr", "always", "--pod", "new:foobar", fedoraMinimal, "bin/sh", "-c", "date +%T.%N > " + filename})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
verify := podmanTest.Podman([]string{"create", "--pod", "foobar", "-t", ALPINE, "top"})