From 97277b022e0841dd1bca1c80000e3bf77afcbe46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Sat, 17 Aug 2024 13:52:22 +0200 Subject: [PATCH] test/CMakeLists.txt: bumped CTest timeout to accommodate `macos-*` runner slowness (#6704) The `macos-*` runners are much slower than the other leading to sporadic timeouts when running CTest with a debug build in the CI. --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 76727209190..5e3a021d495 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -68,7 +68,8 @@ if (BUILD_TESTS) include(ProcessorCount) ProcessorCount(N) set(CTEST_PARALLEL_LEVEL ${N} CACHE STRING "CTest parallel level") - set(CTEST_TIMEOUT 90 CACHE STRING "CTest timeout") + # the macos-* runners are sporadically much slower than other runners so chose a high timeout + set(CTEST_TIMEOUT 130 CACHE STRING "CTest timeout") add_custom_target(check ${CMAKE_CTEST_COMMAND} --output-on-failure -j ${CTEST_PARALLEL_LEVEL} -C ${CMAKE_CFG_INTDIR} --timeout ${CTEST_TIMEOUT} DEPENDS testrunner cppcheck)