Skip to content

Commit b840816

Browse files
authored
fix improper use of FailNow in testing (#3479)
1 parent c60e8a2 commit b840816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fixture/e2e/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func StartNetwork(
249249
if stopErr := network.Stop(tc.DefaultContext()); stopErr != nil {
250250
tc.Outf("failed to stop network after bootstrap failure: %v", stopErr)
251251
}
252-
require.FailNow("failed to bootstrap network: %s", err)
252+
require.FailNowf("network bootstrapping failed", "network bootstrapping error: %s", err)
253253
}
254254

255255
tc.Outf("{{green}}Successfully started network{{/}}\n")

0 commit comments

Comments
 (0)