Skip to content

Commit

Permalink
only simtests one-by-one 2; increase retries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Oct 30, 2024
1 parent e4a587e commit 41c09c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/simtest/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 41c09c6

Please sign in to comment.