Skip to content

Commit 84277fb

Browse files
markmandelRobert Bailey
andauthored
Move Allocator unit tests to better test module (agones-dev#2441)
Refactoring and cleanup I made while investigating agones-dev#2282. Lots of the allocator tests where tied into the GameServerAllocation controller tests, when there was no actual need for that to be the case. This refactor de-couples those tests from the controller to have better isolation in the testing, make it easier to create new tests, and make test discovery for the Allocator system easier. Also added a few more tests for extra coverage, and cleaned up a few pieces here and there with the migration. Co-authored-by: Robert Bailey <robertbailey@google.com>
1 parent 51da801 commit 84277fb

2 files changed

Lines changed: 622 additions & 549 deletions

File tree

0 commit comments

Comments
 (0)