Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/ExtraTests
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-02-20 23:08:58 +0100
committerMartin Hořeňovský2021-02-20 23:09:02 +0100
commit3afea8128a060888db8d5547fd35400c7ecb05e4 (patch)
treee1a8202da5f5bd9d9172f5b0bf645189a878bf83 /tests/ExtraTests
parent749d9537122106191766ead871186ba69861a43b (diff)
downloadcatch3-3afea8128a060888db8d5547fd35400c7ecb05e4.tar.gz
Increase timing window for min duration tests to 1s
This test tends to be brittle on Mac CI machines, which are heavily loaded and bursty. Since the tests are only run as part of the "extra tests" test set, this increase should not have a significant impact on the total duration of CI runs.
Diffstat (limited to 'tests/ExtraTests')
-rw-r--r--tests/ExtraTests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ExtraTests/CMakeLists.txt b/tests/ExtraTests/CMakeLists.txt
index 62319b38..a861345d 100644
--- a/tests/ExtraTests/CMakeLists.txt
+++ b/tests/ExtraTests/CMakeLists.txt
@@ -11,11 +11,11 @@ message( STATUS "Extra tests included" )
# The MinDuration reporting tests do not need separate compilation, but
# they have non-trivial execution time, so they are categorized as
# extra tests, so that they are run less.
-add_test(NAME MinDuration::SimpleThreshold COMMAND $<TARGET_FILE:SelfTest> --min-duration 0.245 [min_duration_test])
+add_test(NAME MinDuration::SimpleThreshold COMMAND $<TARGET_FILE:SelfTest> --min-duration 0.950 [min_duration_test])
set_tests_properties(
MinDuration::SimpleThreshold
PROPERTIES
- PASS_REGULAR_EXPRESSION "s: sleep_for_250ms"
+ PASS_REGULAR_EXPRESSION "s: sleep_for_1000ms"
FAIL_REGULAR_EXPRESSION "sleep_for_100ms"
RUN_SERIAL ON # The test is timing sensitive, so we want to run it
# serially to avoid false positives on oversubscribed machines