diff --git a/test/e2e/fleet_test.go b/test/e2e/fleet_test.go index c7ff98a4eb..b4b79bc40c 100644 --- a/test/e2e/fleet_test.go +++ b/test/e2e/fleet_test.go @@ -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 { diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 7bc09b6a16..70c69d0f3c 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -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)