1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

[skip ci] Auto-mark SKIP_PERF_SENSITIVE tests as flaky

These can occasionally fail in CI.
This commit is contained in:
Ilija Tovilo
2025-10-21 17:52:04 +02:00
parent 90bc40ecc0
commit 99076ebfb0

View File

@@ -2881,6 +2881,11 @@ function is_flaky(TestFile $test): bool
if ($test->hasSection('FLAKY')) {
return true;
}
if ($test->hasSection('SKIPIF')) {
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
return true;
}
}
if (!$test->hasSection('FILE')) {
return false;
}