diff --git a/.config/nextest.toml b/.config/nextest.toml index 8560c80bf3ce5..0bf471db4f7d5 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -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 } diff --git a/.github/actions/rust-smoke-tests/action.yaml b/.github/actions/rust-smoke-tests/action.yaml index c5f63e625df1f..4f895164e726a 100644 --- a/.github/actions/rust-smoke-tests/action.yaml +++ b/.github/actions/rust-smoke-tests/action.yaml @@ -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