Skip to content

Commit

Permalink
fixing rebase failure (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkanatsios authored Mar 17, 2022
1 parent ae123b4 commit 96edcb6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/nodeagent/nodeagentmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,10 @@ var _ = Describe("nodeagent tests", func() {
if !ok {
return false
}
<<<<<<< HEAD
return tempgs.(*GameServerDetails).IsActive && tempgs.(*GameServerDetails).PreviousGameState == GameStateStandingBy
=======
tempgs.(*GameServerDetails).Mutex.RLock()
gsd := *tempgs.(*GameServerDetails)
tempgs.(*GameServerDetails).Mutex.RUnlock()
return gsd.WasActivated && gsd.PreviousGameState == GameStateStandingBy
>>>>>>> PortRegistry V2
return gsd.IsActive && gsd.PreviousGameState == GameStateStandingBy
}).Should(BeTrue())

// heartbeat from the game is still StandingBy
Expand Down

0 comments on commit 96edcb6

Please sign in to comment.