-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Patch TestCleaningSoftTaintsInScaleDown to be compatible with new isScaleDownInCooldown signature #8034
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
Patch TestCleaningSoftTaintsInScaleDown to be compatible with new isScaleDownInCooldown signature #8034
Conversation
Hi @mtrqq. 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-sigs/prow repository. |
/assign abdelrahman882 |
@mtrqq: GitHub didn't allow me to assign the following users: abdelrahman882. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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 kubernetes-sigs/prow repository. |
I see, #7997 removed the condition that cool down happens in case of no candidates, which was used by #7995 to put the cluster in cool down to test removing soft taints. After #7997 now we have 3 branches to check
I think it's important to assert we remove soft taints in the three cases, so wdyt of
cc: @damikag |
…caleDownInCooldown signature.
45c7937
to
6cbf801
Compare
Makes perfect sense, added another clause to test for scale down in cooldown |
Thanks Maksym /lgtm |
@abdelrahman882: changing LGTM is restricted to collaborators 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 kubernetes-sigs/prow repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BigDarkClown, mtrqq 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 |
/cherry-pick cluster-autoscaler-release-1.32 |
@jackfrancis: new pull request created: #8111 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 kubernetes-sigs/prow repository. |
What type of PR is this?
/kind failing-test
What this PR does / why we need it:
When both #7997 and #7995 were merged - this led to isScaleDownInCooldown interface incompatibility which causes tests to fail. This PR patches the test to no longer depend on isScaleDownInCooldown as tainting logic was transferred straight to
RunOnce
methodWhich issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: