Skip to content

Commit

Permalink
conda: Increase test timeout from 2 minutes to 10 minutes
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
  • Loading branch information
ryanvolz committed May 25, 2023
1 parent f9d4334 commit 98e25f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .packaging/conda_recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ if errorlevel 1 exit 1
set SKIP_TESTS=^
%=EMPTY=%

ctest --build-config Release --output-on-failure --timeout 120 -j%CPU_COUNT% -E "%SKIP_TESTS%"
ctest --build-config Release --output-on-failure --timeout 600 -j%CPU_COUNT% -E "%SKIP_TESTS%"
if errorlevel 1 exit 1

:: now run the skipped tests to see failures, but exit without error anyway
ctest --build-config Release --output-on-failure --timeout 120 -j%CPU_COUNT% -R "%SKIP_TESTS%"
ctest --build-config Release --output-on-failure --timeout 600 -j%CPU_COUNT% -R "%SKIP_TESTS%"
exit 0
4 changes: 2 additions & 2 deletions .packaging/conda_recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ else
fi
SKIP_TESTS_STR=$( IFS="|"; echo "^(${SKIP_TESTS[*]})$" )

ctest --build-config Release --output-on-failure --timeout 120 -j${CPU_COUNT} -E "$SKIP_TESTS_STR"
ctest --build-config Release --output-on-failure --timeout 600 -j${CPU_COUNT} -E "$SKIP_TESTS_STR"

# now run the skipped tests to see the failures, but don't error out
ctest --build-config Release --output-on-failure --timeout 120 -j${CPU_COUNT} -R "$SKIP_TESTS_STR" || exit 0
ctest --build-config Release --output-on-failure --timeout 600 -j${CPU_COUNT} -R "$SKIP_TESTS_STR" || exit 0

0 comments on commit 98e25f8

Please sign in to comment.