Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
WVerlaek committed Jan 5, 2022
1 parent ad0306a commit 8f28bf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/fleet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ func TestFleetRollingUpdate(t *testing.T) {
t.Parallel()
ctx := context.Background()
// Use scaleFleetPatch (true) or scaleFleetSubresource (false)
fixtures := []bool{true} //, false} // TODO Enable these again
maxSurge := []string{"25%"} //, "10%"} // TODO
fixtures := []bool{true} // , false} // TODO Enable these again
maxSurge := []string{"25%"} // , "10%"} // TODO
doCycle := true // TODO: fixture?

for _, usePatch := range fixtures {
Expand Down
1 change: 1 addition & 0 deletions test/e2e/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ func (f *Framework) WaitForGameServerState(t *testing.T, gs *agonesv1.GameServer
state, gs.Namespace, gs.Name)
}

// GetGameServer gets the specified GameServer by namespace/name or fails the test with an error.
func (f *Framework) GetGameServer(t *testing.T, namespace string, name string) *agonesv1.GameServer {
gs, err := f.AgonesClient.AgonesV1().GameServers(namespace).Get(context.Background(), name, metav1.GetOptions{})
require.NoError(t, err, "failed to get gameserver: %s/%s", namespace, name)
Expand Down

0 comments on commit 8f28bf7

Please sign in to comment.