Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have `pytest-xdist` already installed, but we aren't using it. Set `-n auto --maxprocesses 8` in our config, so that it will be activated. The max prevents `-n auto` from starting large numbers of workers (e.g., 20) and losing any speed benefit to overheads. Using `-n auto` rather than (e.g., `-n 4`) ensures that in CI and other variable environments, we get the right number of workers. One test with a randomized parameter needed a tweak, as it made an xdist parameter consistency check fail.
- Loading branch information