From 35e2ce2dcfa147a6a161e72bb9478a5e1f2c0f39 Mon Sep 17 00:00:00 2001 From: Tharun Date: Fri, 4 Dec 2020 16:05:24 +0530 Subject: [PATCH] added check for timetostop status --- test/integration/scheduled_stop_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/scheduled_stop_test.go b/test/integration/scheduled_stop_test.go index 508a385999..3de450e629 100644 --- a/test/integration/scheduled_stop_test.go +++ b/test/integration/scheduled_stop_test.go @@ -165,6 +165,10 @@ func ensureMinikubeStatus(ctx context.Context, t *testing.T, profile, wantStatus if got != wantStatus { return fmt.Errorf("expected post-stop host status to be -%q- but got *%q*", state.Stopped, got) } + got = Status(ctx, t, Target(), profile, "TimeToStop", profile) + if got != "Nonexistent" { + return fmt.Errorf("expected post-stop timetostop status to be -%q- but got *%q*", "Nonexistent", got) + } return nil } if err := retry.Expo(checkStatus, time.Second, time.Minute); err != nil {