From 41c09c6716568e3787cab4a1aefa10081ea57d8c Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Wed, 30 Oct 2024 21:32:50 +0100 Subject: [PATCH] only simtests one-by-one 2; increase retries --- .config/nextest.toml | 4 +++- scripts/simtest/codecov.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index ac86fb09cfb..d1d2c198cdd 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -8,9 +8,11 @@ failure-output = "immediate" # Show skipped tests in the CI output. status-level = "skip" # Retry failing tests in order to not block builds on flaky tests -retries = 1 +retries = 3 # Timeout tests after 4 minutes slow-timeout = { period = "60s", terminate-after = 4 } +# temporary +test-threads = 1 [profile.simtestnightly] # Print out output for failing tests as soon as they fail, and also at the end diff --git a/scripts/simtest/codecov.sh b/scripts/simtest/codecov.sh index 4c4b2d90462..0d628954879 100755 --- a/scripts/simtest/codecov.sh +++ b/scripts/simtest/codecov.sh @@ -18,7 +18,7 @@ export SIMTEST_STATIC_INIT_MOVE=$root_dir"/examples/move/basics" cargo llvm-cov clean -MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo +nightly llvm-cov --ignore-run-fail --branch --html nextest --cargo-profile simulator --test-threads 1 +MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo +nightly llvm-cov --ignore-run-fail --branch --html nextest --cargo-profile simulator # remove the patch git checkout .cargo/config Cargo.toml Cargo.lock