Skip to content

feat(scaletest/dashboard): integrate chromedp #9927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 2, 2023
Merged
Next Next commit
fix(scaletest/harness): fix div-zero error
  • Loading branch information
johnstcn committed Sep 29, 2023
commit a8fc106a2b2bf6adc571bc8d2f319385130caeaf
4 changes: 4 additions & 0 deletions scaletest/harness/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ func (r *Results) PrintText(w io.Writer) {
}

_, _ = fmt.Fprintln(w, "\n\nTest results:")
if r.TotalRuns == 0 {
_, _ = fmt.Fprintln(w, "\tNo tests run")
return
}
_, _ = fmt.Fprintf(w, "\tPass: %d\n", r.TotalPass)
_, _ = fmt.Fprintf(w, "\tFail: %d\n", r.TotalFail)
_, _ = fmt.Fprintf(w, "\tTotal: %d\n", r.TotalRuns)
Expand Down