-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃尡 Validating the warnings in tests #8778
Conversation
Hi @Dhairya-Arora01. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
/hold |
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.
/ok-to-test
@Dhairya-Arora01 Looks good so far, that's what I meant! |
916de00
to
0af5da0
Compare
/assign @jackfrancis |
0af5da0
to
7bd7462
Compare
/test pull-cluster-api-test-main |
7bd7462
to
a75ff05
Compare
/hold cancel |
@Dhairya-Arora01 this looks gook, thanks! Are there any "negative" test cases we can create for these warning responses? The equivalent of I assume we'll have to author new cases as the existing set of UT that you've backfilled w/ warnings responses are all nil. |
@jackfrancis , So we need to write those cases where the warnings are not nil ? |
99% of our webhooks do not return any warnings in any case. Which makes sense as before CR v0.15 it was not possible to return warnings |
@sbueringer , so we need to look for those 1% ?? and write negative test cases for those |
Now had time to look it up. Here's the 1% #8746. I thought it's already merged but it isn't. So we're good |
@sbueringer so we should wait for that pr to get merged?? or should we move on and after it gets merged open another one |
/lgtm |
LGTM label has been added. Git tree hash: 8e21a151c21de6c98d23fad69cdbec7936d5a002
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
/area testing |
What this PR does / why we need it: To validate the warnings in webhook unit tests
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #8732