tests: Reduce parallelism on x86-64 testing
Only use 75% of the available threads - this will reduce dislk and memory pressure. Reducing the chance of flaky tests. See: #7405 Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
8e40413886
commit
d760301c8d
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ ulimit -l unlimited
|
|||
ulimit -n 4096
|
||||
|
||||
export RUST_BACKTRACE=1
|
||||
time cargo test --release --target "$BUILD_TARGET" $test_features "common_parallel::$test_filter" -- ${test_binary_args[*]}
|
||||
time cargo test --release --target "$BUILD_TARGET" $test_features "common_parallel::$test_filter" -- ${test_binary_args[*]} --test-threads=$((($(nproc) * 3) / 4))
|
||||
RES=$?
|
||||
|
||||
# Run some tests in sequence since the result could be affected by other tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue