Skip to content

Commit 8081532

Browse files
committed
roachtest: fix test failed message
1 parent 026f98a commit 8081532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/test_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ func (r *testRunner) Run(
471471
err = errors.Join(err, errSomeClusterProvisioningFailed)
472472
}
473473
if len(r.status.fail) > 0 {
474-
shout(ctx, l, lopt.stdout, "%d tests failed", r.status.fail)
474+
shout(ctx, l, lopt.stdout, "%d tests failed", len(r.status.fail))
475475
err = errors.Join(err, errTestsFailed)
476476
}
477477
if err != nil {

0 commit comments

Comments
 (0)