diff --git a/test/integration/scheduled_stop_test.go b/test/integration/scheduled_stop_test.go index f10c4e2d6bf4..25b0163b0a38 100644 --- a/test/integration/scheduled_stop_test.go +++ b/test/integration/scheduled_stop_test.go @@ -69,7 +69,7 @@ func TestScheduledStopWindows(t *testing.T) { time.Sleep(5 * time.Second) // make sure minikube status is "Stopped" ensureMinikubeStatus(ctx, t, profile, "Host", state.Stopped.String()) - // make sure minikube timtostop is "Nonexistent" + // make sure minikube TimetoStop is "NonExistent" ensureMinikubeStatus(ctx, t, profile, "TimeToStop", "Nonexistent") } @@ -105,7 +105,10 @@ func TestScheduledStopUnix(t *testing.T) { // sleep 12 just to be safe stopMinikube(ctx, t, profile, []string{"--cancel-scheduled"}) time.Sleep(12 * time.Second) + // make sure minikube status is "Running" ensureMinikubeStatus(ctx, t, profile, "Host", state.Running.String()) + // make sure minikube TimetoStop is "NonExistent" + ensureMinikubeStatus(ctx, t, profile, "TimeToStop", "Nonexistent") // schedule another stop, make sure minikube status is "Stopped" stopMinikube(ctx, t, profile, []string{"--schedule", "5s"}) @@ -115,7 +118,7 @@ func TestScheduledStopUnix(t *testing.T) { // make sure minikube status is "Stopped" ensureMinikubeStatus(ctx, t, profile, "Host", state.Stopped.String()) - // make sure minikube timtostop is "Nonexistent" + // make sure minikube TimetoStop is "NonExistent" ensureMinikubeStatus(ctx, t, profile, "TimeToStop", "Nonexistent") }