-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deflake e2e test should not show help running rmi -a
#1760
Deflake e2e test should not show help running rmi -a
#1760
Conversation
00c91b2
to
16cf233
Compare
should not show help running rmi -a
should not show help running rmi -a
@kubernetes-sigs/cri-tools-maintainers PTAL |
1 similar comment
@kubernetes-sigs/cri-tools-maintainers PTAL |
test/e2e/inspect_test.go
Outdated
@@ -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)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will it affect any other tests this way? Anything that needs images and running in-parallel would be affected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll adapt the tests to only remove the images being used as well as the pause image. I change the other tests according to this as well.
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>
16cf233
to
41fe74d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert, SergeyKanzhelev The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind flake
What this PR does / why we need it:
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 theinspect
suite.Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?