small changes to test

pull/7700/head
Sharif Elgamal 2020-04-16 10:03:11 -07:00
parent 4bb2a491c5
commit 278ccaa7e3
1 changed files with 2 additions and 2 deletions

View File

@ -202,12 +202,12 @@ func validateMultiNode(ctx context.Context, t *testing.T, profile string) {
addArgs := []string{"node", "add", "-p", profile}
rr, err := Run(t, exec.CommandContext(ctx, Target(), addArgs...))
if err != nil {
t.Errorf("failed to add node to current cluster. args %q : %v", rr.Command(), err)
t.Fatalf("failed to add node to current cluster. args %q : %v", rr.Command(), err)
}
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status"))
if err != nil {
t.Errorf("failed to run minikube status. args %q : %v", rr.Command(), err)
t.Fatalf("failed to run minikube status. args %q : %v", rr.Command(), err)
}
if strings.Count(rr.Stdout.String(), "host: Running") != 2 {