Skip to content

Commit

Permalink
added back error check
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed May 4, 2021
1 parent 459c42b commit 9d98c09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/aaa_download_only_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ func TestDownloadOnly(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), Seconds(5))
defer cancel()
args := []string{"logs", "-p", profile}
Run(t, exec.CommandContext(ctx, Target(), args...))
if _, err := Run(t, exec.CommandContext(ctx, Target(), args...)); err != nil {
t.Logf("minikube logs failed with error: %v", err)
}
if err := ctx.Err(); err == context.DeadlineExceeded {
t.Error("minikube logs expected to finish by 5 seconds, but took longer")
}
Expand Down

0 comments on commit 9d98c09

Please sign in to comment.