Skip to content

Commit

Permalink
[Unit tests] Decrease concurrency.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind committed Nov 4, 2024
1 parent c88e7c8 commit ec0f1f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ status-level = "skip"
failure-output = "immediate-final"
# Cancel test run on the first failure. Accounts for retries.
fail-fast = true
# Mark each test as requiring 2 threads. This avoids starvation (e.g., due to heavy tests that spawn additional threads).
threads-required = 2

junit = { path = "junit.xml" }

Expand Down
2 changes: 1 addition & 1 deletion devtools/aptos-cargo-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ fn run_targeted_compiler_v2_tests(
Ok(())
}

/// Runs the targeted unit tests
/// Runs the targeted unit tests!
fn run_targeted_unit_tests(
packages_to_test: Vec<String>,
mut direct_args: Vec<String>,
Expand Down

0 comments on commit ec0f1f8

Please sign in to comment.