From f4a6a6d096efdd17ad6d1b2c8bdc1fb663745723 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Wed, 30 Aug 2023 22:31:27 +0200 Subject: [PATCH] Increase run-tests.php timeout for asan Closes GH-12087 --- run-tests.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-tests.php b/run-tests.php index 12e03ae615a..404fd3e457a 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1284,6 +1284,10 @@ function system_with_timeout( } $timeout = $valgrind ? 300 : ($env['TEST_TIMEOUT'] ?? 60); + /* ASAN can cause a ~2-3x slowdown. */ + if (isset($env['SKIP_ASAN'])) { + $timeout *= 3; + } while (true) { /* hide errors from interrupted syscalls */