Skip to content

Commit a731c17

Browse files
committed
Update timeouts of tests.
1 parent 0fc107d commit a731c17

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

source/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if(OPTION_TEST_MEMORYCHECK AND NOT (OPTION_BUILD_SANITIZER OR OPTION_BUILD_THREA
8080
--label-exclude MEMCHECK_IGNORE
8181
--force-new-ctest-process
8282
--test-action memcheck
83-
--timeout 60
83+
--timeout 5400
8484
#COMMAND cat "${CMAKE_BINARY_DIR}/Testing/Temporary/MemoryChecker.*.log"
8585
)
8686
endif()

source/tests/metacall_node_python_deadlock_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ add_dependencies(${target}
141141

142142
set_tests_properties(${target} PROPERTIES
143143
LABELS ${target}
144-
TIMEOUT 10 # Stop test after 10 seconds (to avoid deadlocking forever)
144+
TIMEOUT 120 # Stop test after 120 seconds (to avoid deadlocking forever)
145145
)
146146

147147
include(TestEnvironmentVariables)

tools/metacall-build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function sub-build {
6767
}
6868
}
6969

70-
ctest "-j$((Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors)" --timeout 5000 --output-on-failure -C $BUILD_TYPE
70+
ctest "-j$((Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors)" --timeout 5400 --output-on-failure -C $BUILD_TYPE
7171

7272
if ( -not $? ) {
7373
$RecentExitCode = $LASTEXITCODE

tools/metacall-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ sub_build() {
7070

7171
# Tests (coverage needs to run the tests)
7272
if [ $BUILD_TESTS = 1 ] || [ $BUILD_COVERAGE = 1 ]; then
73-
ctest -j$(getconf _NPROCESSORS_ONLN) --timeout 5000 --output-on-failure --test-output-size-failed 3221000000 -C $BUILD_TYPE
73+
ctest -j$(getconf _NPROCESSORS_ONLN) --timeout 5400 --output-on-failure --test-output-size-failed 3221000000 -C $BUILD_TYPE
7474
fi
7575

7676
# Coverage

0 commit comments

Comments
 (0)