Skip to content

Commit

Permalink
Try running tests on only half the CPUs to see if that makes them mor…
Browse files Browse the repository at this point in the history
…e reliable
  • Loading branch information
rocallahan committed May 20, 2024
1 parent 2711d6b commit 3f63467
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release-process/rr-testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3f63467

Please sign in to comment.