Skip to content

Commit 99076eb

Browse files
committed
[skip ci] Auto-mark SKIP_PERF_SENSITIVE tests as flaky
These can occasionally fail in CI.
1 parent 90bc40e commit 99076eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run-tests.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,6 +2881,11 @@ function is_flaky(TestFile $test): bool
28812881
if ($test->hasSection('FLAKY')) {
28822882
return true;
28832883
}
2884+
if ($test->hasSection('SKIPIF')) {
2885+
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
2886+
return true;
2887+
}
2888+
}
28842889
if (!$test->hasSection('FILE')) {
28852890
return false;
28862891
}

0 commit comments

Comments
 (0)