tools/ci.sh: Increase test timeout to 60s in coverage jobs.

The additional overhead of the settrace profiler means that the
`aes_stress.py` test was running too slowly on GitHub CI.  Double the
timeout to 60 seconds.

Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
Jeff Epler
2025-07-03 20:11:03 +01:00
committed by Damien George
parent e415d03e7f
commit a8c2b917e2
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ import threading
import tempfile import tempfile
# Maximum time to run a PC-based test, in seconds. # Maximum time to run a PC-based test, in seconds.
TEST_TIMEOUT = 30 TEST_TIMEOUT = float(os.environ.get('MICROPY_TEST_TIMEOUT', 30))
# See stackoverflow.com/questions/2632199: __file__ nor sys.argv[0] # See stackoverflow.com/questions/2632199: __file__ nor sys.argv[0]
# are guaranteed to always work, this one should though. # are guaranteed to always work, this one should though.

View File

@@ -625,7 +625,7 @@ function ci_unix_coverage_build {
} }
function ci_unix_coverage_run_tests { function ci_unix_coverage_run_tests {
ci_unix_run_tests_full_helper coverage MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage
} }
function ci_unix_coverage_run_mpy_merge_tests { function ci_unix_coverage_run_mpy_merge_tests {
@@ -745,7 +745,7 @@ function ci_unix_sanitize_undefined_build {
} }
function ci_unix_sanitize_undefined_run_tests { function ci_unix_sanitize_undefined_run_tests {
ci_unix_run_tests_full_helper coverage "${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]}" MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage "${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]}"
} }
function ci_unix_sanitize_address_build { function ci_unix_sanitize_address_build {
@@ -756,7 +756,7 @@ function ci_unix_sanitize_address_build {
} }
function ci_unix_sanitize_address_run_tests { function ci_unix_sanitize_address_run_tests {
ci_unix_run_tests_full_helper coverage "${CI_UNIX_OPTS_SANITIZE_ADDRESS[@]}" MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage "${CI_UNIX_OPTS_SANITIZE_ADDRESS[@]}"
} }
function ci_unix_macos_build { function ci_unix_macos_build {