set profile for test

pull/10350/head
Steven Powell 2021-02-19 09:56:35 -07:00
parent c5c1ee9013
commit 00a480f06c
1 changed files with 2 additions and 1 deletions

View File

@ -198,7 +198,8 @@ func TestStoppedBinaryUpgrade(t *testing.T) {
}
t.Run("MinikubeLogs", func(t *testing.T) {
rr, err = Run(t, exec.CommandContext(ctx, Target(), "logs"))
args := []string{"logs", "-p", profile}
rr, err = Run(t, exec.CommandContext(ctx, Target(), args...))
if err != nil {
t.Fatalf("`minikube logs` after upgrade to HEAD from %s failed: %v", legacyVersion, err)
}