Skip to content

Commit

Permalink
FailNow if Must... fails as expected (#1697)
Browse files Browse the repository at this point in the history
Signed-off-by: John Schnake <jschnake@vmware.com>
  • Loading branch information
johnSchnake authored May 9, 2022
1 parent 8690c6c commit 7b3375c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/sonobuoy_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func mustRunSonobuoyCommandWithContext(ctx context.Context, t *testing.T, ns, ar
} else {
t.Logf("Checked sonobuoy logs, got: %v", o.String())
}
t.FailNow()
}

return stdout
Expand Down

0 comments on commit 7b3375c

Please sign in to comment.