From d760301c8d5c948f623978e000ecd7dac580a245 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 9 Oct 2025 08:35:49 +0100 Subject: [PATCH] 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 --- scripts/run_integration_tests_x86_64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_integration_tests_x86_64.sh b/scripts/run_integration_tests_x86_64.sh index 3f28e23cd..7580789ed 100755 --- a/scripts/run_integration_tests_x86_64.sh +++ b/scripts/run_integration_tests_x86_64.sh @@ -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