Skip to content

Commit ac47c59

Browse files
committed
Fix
1 parent 8aeea5c commit ac47c59

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/flakeguard/runner/runner.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,16 @@ func (r *Runner) RunTestCmd(testCmd []string) (*reports.TestReport, error) {
110110
return nil, fmt.Errorf("failed to parse test results: %w", err)
111111
}
112112

113-
return &reports.TestReport{
113+
report := &reports.TestReport{
114114
GoProject: r.prettyProjectPath,
115115
RaceDetection: r.UseRace,
116116
ExcludedTests: r.SkipTests,
117117
SelectedTests: r.SelectTests,
118118
Results: results,
119119
MaxPassRatio: r.MaxPassRatio,
120-
}, nil
120+
}
121+
report.GenerateSummaryData()
122+
return report, nil
121123
}
122124

123125
// RawOutputs retrieves the raw output from the test runs, if CollectRawOutput enabled.

0 commit comments

Comments
 (0)