Merge pull request #16507 from edsantiago/more_logs_flakes

Fix more podman-logs flakes
This commit is contained in:
OpenShift Merge Robot 2022-11-15 08:48:24 +00:00 committed by GitHub
commit b73c0f253a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -1784,6 +1784,10 @@ var _ = Describe("Podman play kube", func() {
kube.WaitWithDefaultTimeout()
Expect(kube).Should(Exit(0))
wait := podmanTest.Podman([]string{"wait", getCtrNameInPod(p)})
wait.WaitWithDefaultTimeout()
Expect(wait).Should(Exit(0))
logs := podmanTest.Podman([]string{"logs", getCtrNameInPod(p)})
logs.WaitWithDefaultTimeout()
Expect(logs).Should(Exit(0))
@ -1801,6 +1805,10 @@ var _ = Describe("Podman play kube", func() {
kube.WaitWithDefaultTimeout()
Expect(kube).Should(Exit(0))
wait := podmanTest.Podman([]string{"wait", getCtrNameInPod(p)})
wait.WaitWithDefaultTimeout()
Expect(wait).Should(Exit(0))
logs := podmanTest.Podman([]string{"pod", "logs", p.Name})
logs.WaitWithDefaultTimeout()
Expect(logs).Should(Exit(0))
@ -1818,6 +1826,10 @@ var _ = Describe("Podman play kube", func() {
kube.WaitWithDefaultTimeout()
Expect(kube).Should(Exit(0))
wait := podmanTest.Podman([]string{"wait", getCtrNameInPod(p)})
wait.WaitWithDefaultTimeout()
Expect(wait).Should(Exit(0))
logs := podmanTest.Podman([]string{"pod", "logs", "-c", getCtrNameInPod(p), p.Name})
logs.WaitWithDefaultTimeout()
Expect(logs).Should(Exit(0))