Skip to content

Commit

Permalink
Add --wait=all flag to soft start
Browse files Browse the repository at this point in the history
  • Loading branch information
Priya Wadhwa committed May 18, 2020
1 parent 46cd3a9 commit bf8c4e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestFunctional(t *testing.T) {
{"StartWithProxy", validateStartWithProxy}, // Set everything else up for success
{"SoftStart", validateSoftStart}, // do a soft start. ensure config didnt change.
{"KubeContext", validateKubeContext}, // Racy: must come immediately after "minikube start"
{"KubectlGetPods", validateKubectlGetPods}, // Make sure apiserver is up
{"KubectlGetPods", validateKubectlGetPods}, // Make sure kubectl is returning pods
{"CacheCmd", validateCacheCmd}, // Caches images needed for subsequent tests because of proxy
{"MinikubeKubectlCmd", validateMinikubeKubectl}, // Make sure `minikube kubectl` works
}
Expand Down Expand Up @@ -229,7 +229,7 @@ func validateSoftStart(ctx context.Context, t *testing.T, profile string) {
t.Errorf("expected cluster config node port before soft start to be %d but got %d", apiPortTest, beforeCfg.Config.KubernetesConfig.NodePort)
}

softStartArgs := []string{"start", "-p", profile}
softStartArgs := []string{"start", "-p", profile, "--wait=all"}
c := exec.CommandContext(ctx, Target(), softStartArgs...)
rr, err := Run(t, c)
if err != nil {
Expand Down

0 comments on commit bf8c4e3

Please sign in to comment.