diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-08-15 09:36:13 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-08-15 09:24:46 +0200 |
commit | fa6583c30bf7d82cf7ffdae995f8f16524ad2c0d (patch) | |
tree | d53647bd24012f91aa8a82cd53d6e0e8c7dfc18b /ci/test/00_setup_env.sh | |
parent | 30dd562fd2c58536fa026fff9853b8d825216b01 (diff) |
ci: Set increased --timeout-factor by default
Diffstat (limited to 'ci/test/00_setup_env.sh')
-rwxr-xr-x | ci/test/00_setup_env.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh index 2413cfca9f..702e881862 100755 --- a/ci/test/00_setup_env.sh +++ b/ci/test/00_setup_env.sh @@ -35,6 +35,10 @@ export USE_BUSY_BOX=${USE_BUSY_BOX:-false} export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-true} export RUN_FUNCTIONAL_TESTS=${RUN_FUNCTIONAL_TESTS:-true} export RUN_SECURITY_TESTS=${RUN_SECURITY_TESTS:-false} +# By how much to scale the test_runner timeouts (option --timeout-factor). +# This is needed because some ci machines have slow CPU or disk, so sanitizers +# might be slow or a reindex might be waiting on disk IO. +export TEST_RUNNER_TIMEOUT_FACTOR=${TEST_RUNNER_TIMEOUT_FACTOR:-4} export TEST_RUNNER_ENV=${TEST_RUNNER_ENV:-} export RUN_FUZZ_TESTS=${RUN_FUZZ_TESTS:-false} export EXPECTED_TESTS_DURATION_IN_SECONDS=${EXPECTED_TESTS_DURATION_IN_SECONDS:-1000} |