Skip to content

Commit db98c57

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: [skip ci] Auto-mark SKIP_PERF_SENSITIVE tests as flaky
2 parents f65a574 + 99076eb commit db98c57

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
@@ -2812,6 +2812,11 @@ function is_flaky(TestFile $test): bool
28122812
if ($test->hasSection('FLAKY')) {
28132813
return true;
28142814
}
2815+
if ($test->hasSection('SKIPIF')) {
2816+
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
2817+
return true;
2818+
}
2819+
}
28152820
if (!$test->hasSection('FILE')) {
28162821
return false;
28172822
}

0 commit comments

Comments
 (0)