mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05:00
Tests/RunCMake/CTestTimeout: Improve reliability when running on busy hosts
The `Signal` case occasionally reaches the `TIMEOUT_SIGNAL_GRACE_PERIOD` before the test process has a chance to print its `SIGUSR1` count. Extend the grace period to make it less likely to be exceeded.
This commit is contained in:
@@ -34,7 +34,7 @@ else()
|
||||
target_compile_definitions(TestTimeout PRIVATE SIGNAL)
|
||||
set_tests_properties(TestTimeout PROPERTIES
|
||||
TIMEOUT_SIGNAL_NAME SIGUSR1
|
||||
TIMEOUT_SIGNAL_GRACE_PERIOD 1.2
|
||||
TIMEOUT_SIGNAL_GRACE_PERIOD 32.1
|
||||
)
|
||||
]])
|
||||
run_ctest_timeout(Signal)
|
||||
|
||||
Reference in New Issue
Block a user