Skip to content

Commit

Permalink
Deflake e2e test should not show help running rmi -a
Browse files Browse the repository at this point in the history
The problem is that the other `inspect` test may have the pause image
hanging around depending on the runtime configuration. We fix this by
removing all images during the `inspect` suite.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
  • Loading branch information
saschagrunert committed Jan 28, 2025
1 parent 29437ed commit 00c91b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/inspect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var _ = t.Describe("inspect", func() {

AfterEach(func() {
Expect(t.Crictl("rmp -f " + sandbox)).To(Exit(0))
Expect(t.Crictl("rmi " + imageLatest)).To(Exit(0))
Expect(t.Crictl("rmi -a")).To(Exit(0))
})

validateSingleResponse := func(contents []byte) {
Expand Down

0 comments on commit 00c91b2

Please sign in to comment.