Skip to content

Commit dc0ceee

Browse files
committed
debugging for multinode test
1 parent de5e493 commit dc0ceee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/multinode_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func validateMultiNodeStart(ctx context.Context, t *testing.T, profile string) {
6565
}
6666

6767
// Make sure minikube status shows 2 nodes
68-
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status"))
68+
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status", "--alsologtostderr"))
6969
if err != nil {
7070
t.Fatalf("failed to run minikube status. args %q : %v", rr.Command(), err)
7171
}
@@ -89,7 +89,7 @@ func validateAddNodeToMultiNode(ctx context.Context, t *testing.T, profile strin
8989
}
9090

9191
// Make sure minikube status shows 3 nodes
92-
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status"))
92+
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status", "--alsologtostderr"))
9393
if err != nil {
9494
t.Fatalf("failed to run minikube status. args %q : %v", rr.Command(), err)
9595
}
@@ -121,7 +121,7 @@ func validateStopRunningNode(ctx context.Context, t *testing.T, profile string)
121121
}
122122

123123
// Make sure minikube status shows 2 running nodes and 1 stopped one
124-
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status"))
124+
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status", "--alsologtostderr"))
125125
if err != nil && rr.ExitCode != 7 {
126126
t.Fatalf("failed to run minikube status. args %q : %v", rr.Command(), err)
127127
}
@@ -177,7 +177,7 @@ func validateDeleteNodeFromMultiNode(ctx context.Context, t *testing.T, profile
177177
}
178178

179179
// Make sure status is back down to 2 hosts
180-
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status"))
180+
rr, err = Run(t, exec.CommandContext(ctx, Target(), "-p", profile, "status", "--alsologtostderr"))
181181
if err != nil {
182182
t.Fatalf("failed to run minikube status. args %q : %v", rr.Command(), err)
183183
}

0 commit comments

Comments
 (0)