Skip to content

Commit

Permalink
Flaky: TestControllerSyncGameServerCreatingState (googleforgames#1533)
Browse files Browse the repository at this point in the history
Informer in the test should be syncing on Pods,
not GameServers.

Co-authored-by: Robert Bailey <[email protected]>
  • Loading branch information
2 people authored and ilkercelikyilmaz committed Oct 23, 2020
1 parent 3d37d76 commit d580a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gameservers/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ func TestControllerSyncGameServerCreatingState(t *testing.T) {
return true, gs, nil
})

_, cancel := agtesting.StartInformers(m, c.gameServerSynced)
_, cancel := agtesting.StartInformers(m, c.podSynced)
defer cancel()

gs, err := c.syncGameServerCreatingState(fixture)
Expand Down

0 comments on commit d580a1a

Please sign in to comment.