Skip to content

Commit

Permalink
[flakybot] Increase threshold for number of jobs needed to make a fla…
Browse files Browse the repository at this point in the history
…ky issue to 3 (#5488)

As in title, increase the number of jobs to count a test as flaky from 2
-> 3

Not sure if I like this but there are a ton of issues being made and
this should reduce it a bit
  • Loading branch information
clee2000 authored Jul 19, 2024
1 parent a74edc0 commit 52eb4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchci/pages/api/flaky-tests/disable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function filterOutPRFlakyTests(tests: FlakyTestData[]): FlakyTestData[] {

export function filterThreshold(
tests: FlakyTestData[],
threshold: number = 1
threshold: number = 2
): FlakyTestData[] {
return tests.filter((test) => new Set(test.jobIds).size > threshold);
}
Expand Down

0 comments on commit 52eb4b5

Please sign in to comment.