File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
torchci/pages/api/flaky-tests Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -36,21 +36,17 @@ async function disableFlakyTestsAndReenableNonFlakyTests() {
36
36
octokit ,
37
37
flakyTests ,
38
38
flakyTestsAcrossFileReruns ,
39
- flakyTestsAcrossJobs ,
40
39
issues ,
41
40
disabledNonFlakyTests ,
42
41
] = await Promise . all ( [
43
42
getOctokit ( owner , repo ) ,
44
43
fetchFlakyTests ( `${ NUM_HOURS } ` ) ,
45
44
fetchFlakyTestsAcrossFileReruns ( `${ NUM_HOURS } ` ) ,
46
- fetchFlakyTestsAcrossJobs ( `${ NUM_HOURS_ACROSS_JOBS } ` ) , // use a larger time window so we can get more data
47
45
fetchIssuesByLabel ( "skipped" ) ,
48
46
fetchDisabledNonFlakyTests ( ) ,
49
47
] ) ;
50
48
51
- const allFlakyTests = flakyTests
52
- . concat ( flakyTestsAcrossJobs )
53
- . concat ( flakyTestsAcrossFileReruns ) ;
49
+ const allFlakyTests = flakyTests . concat ( flakyTestsAcrossFileReruns ) ;
54
50
// If the test is flaky only on PRs, we should not disable it yet.
55
51
const flakyTestsOnTrunk = filterThreshold (
56
52
filterOutPRFlakyTests ( allFlakyTests )
You can’t perform that action at this time.
0 commit comments