-
Notifications
You must be signed in to change notification settings - Fork 825
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
TestAllocatorAllocateOnGameServerUpdateError #3283
TestAllocatorAllocateOnGameServerUpdateError #3283
Conversation
This was flaking as the cache is eventually consistent, so sometimes it wouldn't be populated in time for the allocation request. Fixed with a better state check on the allocation cache. ``` --- FAIL: TestAllocatorAllocateOnGameServerUpdateError (19.31s) allocator_test.go:499: Error Trace: /go/src/agones.dev/agones/pkg/gameserverallocations/allocator_test.go:499 Error: An error is expected but got nil. Test: TestAllocatorAllocateOnGameServerUpdateError ```
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gongmax, 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 |
Build Failed 😱 Build Id: e06c028e-5c8d-48fe-897c-ed13ad97258c To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 1ff7b39e-6719-447f-9435-0c9b4b7d639c To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Flaked again! I ran it 100 times, it was fine 😠 . So what is weird is it passes consistently with the private method, but not the public after it. I might have another idea to take for a spin. |
New changes are detected. LGTM label has been removed. |
Build Succeeded 👏 Build Id: 7cd4d93e-37b3-47e3-ab2c-e1578d5500e7 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:
This was flaking as the cache is eventually consistent, so sometimes it wouldn't be populated in time for the allocation request.
Fixed with a better state check on the allocation cache.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A