-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Fix potential test flakes in HPA tests TestEventNotCreated and TestAvoidUncessaryUpdates #76455
Conversation
Looks like the test infra failed to spin up |
Looks like they have fixed the test |
…oidUncessaryUpdates Also, re-work the code so that the lock is never held while writing to the chan
/lgtm |
@josephburnett: changing LGTM is restricted to assignees, and only kubernetes/kubernetes repo collaborators may be assigned issues. 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/test-infra repository. |
@mwielgus please lgtm and approve this pr. Thanks! |
/assign @josephburnett |
@joelsmith: GitHub didn't allow me to assign the following users: josephburnett. Note that only kubernetes members and repo collaborators can be assigned and that 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/test-infra 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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joelsmith, josephburnett, mwielgus 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 |
What type of PR is this?
/kind flake
What this PR does / why we need it:
Fixes a potential deadlock in
TestEventNotCreated
which causes the test to time out and fail.Also fixes potential correctness issue in
TestAvoidUncessaryUpdates
where test data was written without holding the lock.Which issue(s) this PR fixes:
Fixes #76454
Special notes for your reviewer:
This one might be easier to review by adding
?w=1
to the files URL to have GitHub's diff ignore whitespace, like this.Does this PR introduce a user-facing change?: