-
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
Flake: TestControllerAllocator #3264
Flake: TestControllerAllocator #3264
Conversation
Build Succeeded 👏 Build Id: baf7d934-a240-4dfd-8286-b698b9387af4 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:
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gongmax, igooch, markmandel, 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 |
New changes are detected. LGTM label has been removed. |
Build Failed 😱 Build Id: 4d6856e4-52b6-48de-9a53-f595e2413d4a To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Still failed on
So clearly I didn't fix the flake! |
Fix fo flakiness in TestControllerAllocator unit test. Also caught a linting issue in gke_test.go that for some reason wasn't picked up elsewhere. Weird.
In theory, a cache could allocate the same GameServer twice. Since there is no generational lock on the mock, we have to fake one.
a525811
to
7d8d032
Compare
Let's try this again. I think I might know what is happening. |
Build Succeeded 👏 Build Id: 98705a72-75e9-49b8-b160-dbeac1716acd 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:
|
Build Succeeded 👏 Build Id: 12cd8480-b545-4b1a-93e7-2da34189875d 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 cleanup
What this PR does / Why we need it:
Fix fo flakiness in TestControllerAllocator unit test.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Also caught a linting issue in gke_test.go that for some reason wasn't picked up elsewhere. Weird.