-
Notifications
You must be signed in to change notification settings - Fork 1.2k
🏃 Use whole list matching for known types. #842
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
🏃 Use whole list matching for known types. #842
Conversation
Welcome @Capstan! |
Hi @Capstan. 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. |
/cc @mengqiy |
I think this whole set could be better written using
The length check would go away, being implicit to the exact match of keys. The values that aren't inspected would be If you prefer I do this approach I can either replace this or commit and follow-on. |
/ok-to-test |
I seems using |
96f9665
to
b4a2bb3
Compare
|
This adds missing tests for * CreateOptions * DeploymentList (Deployment was checked twice) MatchAllKeys will also validate there are no missing or extra keys.
b4a2bb3
to
87e0f8d
Compare
@mengqiy PTAL |
Addresses #835. |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Capstan, vincepri 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 |
Still need @mengqiy or another reviewer to review and lgtm. |
Is there some other action people are waiting for me to perform? |
/assign @mengqiy @alvaroaleman |
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
/lgtm |
The scheme test knows how many types should be returned, but omitted
CreateOptions
from being explicitly checked.