-
Notifications
You must be signed in to change notification settings - Fork 813
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
Race Flake in TestControllerSyncFleetAutoscaler() #3260
Race Flake in TestControllerSyncFleetAutoscaler() #3260
Conversation
Weird that this has more consistently failed with the Go race condition checker failing on this test recently -- but it's a test we wrote a while ago! The flake was that the test added a Reactor to the mock _after_ the Informer system had been started - which caused a race condition inside the Fake client system as different systems interacted with the mock. Changing the order fixes the issue!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gongmax, igooch, markmandel, roberthbailey, zmerlynn 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 |
Build Succeeded 👏 Build Id: e1e4cebd-abeb-4f73-b565-526cd7c9933d The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
What type of PR is this?
/kind bug
What this PR does / Why we need it:
Weird that this has more consistently failed with the Go race condition checker failing on this test recently -- but it's a test we wrote a while ago!
The flake was that the test added a Reactor to the mock after the Informer system had been started - which caused a race condition inside the Fake client system as different systems interacted with the mock.
Changing the order fixes the issue!
Which issue(s) this PR fixes:
Helps #3211 move forward.
Special notes for your reviewer:
N/A