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
make filteredZones order predictable by using List() instead of UnsortedList() #88987
Conversation
Hi @jiahuif. Thanks for your PR. I'm waiting for a kubernetes 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. |
/assign @davidz627 |
Or, I can change the test case. Please comment on which way to choose. |
This looks correct. Please add a test. |
/ok-to-test |
/retest |
Please add a test so this can be merged |
@jiahuif want to see how this is going and if we are going to make v1.18? |
ping @liggitt are we moving forward with this one? or we remove the milestone? |
It should be in 1.18. Please add a unit test exposing the previous bug |
Sorry, will do right now. |
by using List() instead of UnsortedList()
/retest |
/lgtm |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jiahuif, liggitt 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 |
/retest |
1 similar comment
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
/retest |
master has reopened so this will need to be picked to the release-1.18 branch as well |
…7-upstream-release-1.18 Automated cherry pick of #88987: make filteredZones order predictable
What type of PR is this?
/kind flake
What this PR does / why we need it:
This PR fixes a flake in TestTopologyTranslation due to the order of
filteredZones
being unpredictable. This makes object comparison easier for the users of this resource.I did not find any other places where unsorted lists were returned to the caller. Please comment if you find any.
Which issue(s) this PR fixes:
Background: #87163 should fix it.
Special notes for your reviewer:
Please take a look at #87163 for background.
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig storage