Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestAllocatorAllocateOnGameServerUpdateError (#3283)
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 ```
- Loading branch information