From c256342bc15b21c2739308e1c8e822eaa6194d7c Mon Sep 17 00:00:00 2001 From: fl0l0u Date: Sun, 15 Nov 2026 19:37:10 +0000 Subject: [PATCH] tests: the hash-check tests read the shared timeout, not a literal artifact_sums and vendor_sums each set TIMEOUT 120 outright, where the tests around them use ${RAD_TEST_TIMEOUT}. In the fast (Release) gate the variable is 120, so the fast suite is unchanged -- but under ASAN, TSAN or a Debug build it rises to 600 for every sibling, and these two shelled-out hash sweeps over the vendor and artifact trees stayed pinned at 120 there, the one config where a filesystem walk can be slowest. Same idiom as the neighbours now: one knob, no per-test literal to forget when the budget moves. --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index eb218090..e915b659 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -856,7 +856,7 @@ endif() # artifacts themselves from outside, so tampering with one alone fails. add_test(NAME artifact_sums COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/artifact_sums.sh ${CMAKE_SOURCE_DIR}) -set_tests_properties(artifact_sums PROPERTIES LABELS "fast;unit" TIMEOUT 120) +set_tests_properties(artifact_sums PROPERTIES LABELS "fast;unit" TIMEOUT ${RAD_TEST_TIMEOUT}) if(RAD_PYTHON3) add_test(NAME rad_export_test COMMAND ${RAD_PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/rad_export_test.py) set_tests_properties(rad_export_test PROPERTIES LABELS "unit;fast" TIMEOUT ${RAD_TEST_TIMEOUT}) @@ -1035,4 +1035,4 @@ endif() # machine state, so it runs wherever the suite runs. add_test(NAME vendor_sums COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/vendor_sums.sh ${CMAKE_SOURCE_DIR}) -set_tests_properties(vendor_sums PROPERTIES LABELS "fast;unit" TIMEOUT 120) +set_tests_properties(vendor_sums PROPERTIES LABELS "fast;unit" TIMEOUT ${RAD_TEST_TIMEOUT})