Skip to content

Commit f4a6a6d

Browse files
committed
Increase run-tests.php timeout for asan
Closes GH-12087
1 parent 1cdcbc0 commit f4a6a6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run-tests.php

+4
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,10 @@ function system_with_timeout(
12841284
}
12851285

12861286
$timeout = $valgrind ? 300 : ($env['TEST_TIMEOUT'] ?? 60);
1287+
/* ASAN can cause a ~2-3x slowdown. */
1288+
if (isset($env['SKIP_ASAN'])) {
1289+
$timeout *= 3;
1290+
}
12871291

12881292
while (true) {
12891293
/* hide errors from interrupted syscalls */

0 commit comments

Comments
 (0)