Skip to content

add warning about default test order causing problems with MPI - #3192

Open
kbthomp1 wants to merge 1 commit into
catchorg:develfrom
kbthomp1:warn-users-test-order-MPI
Open

add warning about default test order causing problems with MPI#3192
kbthomp1 wants to merge 1 commit into
catchorg:develfrom
kbthomp1:warn-users-test-order-MPI

Conversation

@kbthomp1

Copy link
Copy Markdown

Summary

This adds a warning in the documentation about the default (random) test order of execution possibly causing issues for MPI programs using Catch2 after version 3.9.1.

We recently update Catch2 from version 3.1.0 to the 3.15.1, and we were surprised that our tests started encountering MPI deadlock due the default test execution being changed to random. The fix is simple (use --lex or another non-default ordering option), but a google search was unhelpful. I hope that including this warning in the documentation helps improve the visibility of the fix.

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.24%. Comparing base (0aeb818) to head (d531948).

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3192      +/-   ##
==========================================
- Coverage   91.27%   91.24%   -0.03%     
==========================================
  Files         204      204              
  Lines        8973     8973              
==========================================
- Hits         8190     8187       -3     
- Misses        783      786       +3     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant