From 3f63467b282ae6e51737c212a565f8fed6b3789b Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Mon, 20 May 2024 19:36:24 +1200 Subject: [PATCH] Try running tests on only half the CPUs to see if that makes them more reliable --- release-process/rr-testing.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release-process/rr-testing.sh b/release-process/rr-testing.sh index 303ab9f0d0f..bdc4dcc5fb4 100644 --- a/release-process/rr-testing.sh +++ b/release-process/rr-testing.sh @@ -40,7 +40,8 @@ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope # Disable AppArmor restrictions on user namespaces, which our tests need to use (echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns) || true rm -rf /tmp/rr-* || true -ctest -j`nproc` --verbose $ctest_options +let halfproc=`nproc`/2 +ctest -j$halfproc --verbose $ctest_options echo "For some reason I cannot figure out, bash drops the first four characters from the line following ctest" # Integration test deps are installed in parallel with our build.