-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Fix PullImage and add corresponding node e2e test #24126
Conversation
1fb331d
to
8450b03
Compare
GCE e2e build/test passed for commit 1fb331df5dad99bd12cde747f749a25ec65dbe7f. |
GCE e2e build/test passed for commit 8450b039a97b6f4f6eef4341e790df2090c4a61d. |
} | ||
}) | ||
}) | ||
Context("when testing image that does not exist", func() { | ||
var invalidImage ConformanceImage | ||
var invalidImageTag string | ||
It("it should not pull successfully [Conformance]", func() { |
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.
Remove "it":
It("should not pull
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.
ACK
Looks good overall with some nits. |
8450b03
to
2b9f6be
Compare
@yujuhong Addressed comments. Thanks for reviewing! :) |
GCE e2e build/test passed for commit 2b9f6be. |
GCE e2e build/test passed for commit 2b9f6be. |
GCE e2e build/test passed for commit 2b9f6be. |
GCE e2e build/test passed for commit 2b9f6be. |
GCE e2e build/test passed for commit 2b9f6be. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 2b9f6be. |
Automatic merge from submit-queue |
Fixes #24101. This is a bug introduced by #23506, since ref #23563.
The root cause of #24101 is described here.
This PR
ConformanceImage.Remove()
andConformanceImage.Pull()
. Because sometimes we may expect error to occur inPullImage()
andRemoveImage()
, but even that doesn't happen, thePresent()
check will still return error and let the test pass.@yujuhong @freehan @liangchenye
Also /cc @resouer, because he is doing the image related functions refactoring.