Skip to content

Commit

Permalink
Merge pull request containers#16507 from edsantiago/more_logs_flakes
Browse files Browse the repository at this point in the history
Fix more podman-logs flakes
  • Loading branch information
openshift-merge-robot authored Nov 15, 2022
2 parents 0253d3c + 21f6902 commit b73c0f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/e2e/play_kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))
Expand All @@ -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))
Expand Down

0 comments on commit b73c0f2

Please sign in to comment.