Archived
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.
This commit is contained in:
1 parent
66b0dcf019
commit
c256342bc1
1 file changed
+2
-2
@@ -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})
|
||||
Reference in new issue
Block a user