Skip to content

Commit

Permalink
Clean up kube in e2e tests, to avoid warning
Browse files Browse the repository at this point in the history
Copy of my #19751

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Sep 9, 2023
1 parent 430cc86 commit c977200
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/play_kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5666,6 +5666,11 @@ spec:
Expect(inspectCtr1).Should(Exit(0))

Expect(inspectCtr2.OutputToString()).To(Equal(inspectCtr1.OutputToString()))

// Clean up, to avoid "volume is being used by" error
teardown := podmanTest.Podman([]string{"kube", "down", outputFile})
teardown.WaitWithDefaultTimeout()
Expect(teardown).Should(Exit(0))
})

It("podman kube play test with reserved autoremove annotation in yaml", func() {
Expand Down

0 comments on commit c977200

Please sign in to comment.