-
Notifications
You must be signed in to change notification settings - Fork 4.8k
OCPBUGS-62875: images: test that creating an imagestream with --dry-run does not actually create the object #30403
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
base: main
Are you sure you want to change the base?
Conversation
@liouk: This pull request references Jira Issue OCPBUGS-62875, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
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.
Just dropped a comment. Other than that looks good to me.
cc: @wangke19
test/extended/images/dryrun.go
Outdated
o.Expect(err).NotTo(o.HaveOccurred()) | ||
|
||
// wait for 30s to make sure we'll not miss any resource created accidentally | ||
err = wait.PollUntilContextTimeout(context.Background(), 1*time.Second, 30*time.Second, true, func(ctx context.Context) (bool, error) { |
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.
This guarantees that test will return after 30 seconds. Maybe it is better to return just after 10 seconds.
…ually create the object
a7639ca
to
7872e88
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ardaguclu, liouk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@liouk: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Risk analysis has seen new tests most likely introduced by this PR. New Test Risks for sha: 7872e88
New tests seen in this PR at sha: 7872e88
|
This test will fail without openshift/oc#2117 and must not be merged before the fix.
/hold