Skip to content

Commit

Permalink
nextest smoke-test profile (#12922)
Browse files Browse the repository at this point in the history
bump smoke-test from 10 minute timeout to 30 minute
  • Loading branch information
brianolson authored Apr 18, 2024
1 parent f5de760 commit 7fbdedc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ junit = { path = "junit.xml" }
[profile.default.slow-timeout]
period = "600s"
terminate-after = 1

[profile.smoke-test]
# like profile.ci
status-level = "skip"
failure-output = "immediate-final"
fail-fast = true
# different than ci
test-threads = 6
retries = 3
slow-timeout = { period = "1800s", terminate-after = 1 }
2 changes: 1 addition & 1 deletion .github/actions/rust-smoke-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runs:
# Prebuild the aptos-node binary so that tests don't start before the node is built.
# Also, prebuild the aptos-node binary as a separate step to avoid feature unification issues.
# Note: --test-threads is intentionally set to reduce resource contention in ci jobs. Increasing this, increases job failures and retries.
run: cargo build --locked --package=aptos-node --features=failpoints,indexer --release && LOCAL_SWARM_NODE_RELEASE=1 cargo nextest run --release --profile ci --package smoke-test --test-threads 6 --retries 3
run: cargo build --locked --package=aptos-node --features=failpoints,indexer --release && LOCAL_SWARM_NODE_RELEASE=1 cargo nextest run --release --profile smoke-test --package smoke-test
shell: bash
env:
INDEXER_DATABASE_URL: postgresql://postgres@localhost/postgres
Expand Down

0 comments on commit 7fbdedc

Please sign in to comment.