Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: Use pytest-rerunfailures for pytest-xdist worker crash
Since pytest-xdist workers crash intermittently for the multiprocessing spawn start method, use pytest-rerunfailures to detect and handle this case. Only use pytest-rerunfailures for the spawn start-method since that is the only case where we've observed intermittent pytest-xdist worker crashes, and use --only-rerun 'worker .* crashed while running' to ensure that rerun only triggers for worker crashes. Bug: https://bugs.gentoo.org/924416 See: pytest-dev/execnet#96 Signed-off-by: Zac Medico <[email protected]>
- Loading branch information