Skip to content

Commit fa6c4eb

Browse files
committed
Better description for threshold
1 parent b2892c5 commit fa6c4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/flakeguard/cmd/aggregate_results.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func init() {
4848
AggregateResultsCmd.Flags().String("results-path", "", "Path to the folder containing JSON test result files")
4949
AggregateResultsCmd.Flags().String("output-results", "./results.json", "Path to output the aggregated or filtered test results in JSON format")
5050
AggregateResultsCmd.Flags().String("output-logs", "", "Path to output the filtered test logs in JSON format")
51-
AggregateResultsCmd.Flags().Float64("threshold", 0.8, "Threshold for considering a test as failed (used with --filter-failed)")
51+
AggregateResultsCmd.Flags().Float64("threshold", 1.0, "Minimum pass ratio for considering a test as flaky (used with --filter-failed)")
5252
AggregateResultsCmd.Flags().Float64("min-pass-ratio", 0.001, "Minimum pass ratio for considering a test as flaky (used with --filter-failed)")
5353
AggregateResultsCmd.Flags().Bool("filter-failed", false, "If true, filter and output only failed tests based on the threshold")
5454
}

0 commit comments

Comments
 (0)