Skip to content

Conversation

@sanrishi
Copy link
Contributor

@sanrishi sanrishi commented Feb 3, 2026

PR summary

PR checklist

@sanrishi sanrishi marked this pull request as draft February 3, 2026 15:18
@rcomer
Copy link
Member

rcomer commented Feb 4, 2026

In order for pytest-xdist to put all the marked tests onto one worker, you need to add --dist loadgroup to the pytest call.
https://pytest-xdist.readthedocs.io/en/latest/distribution.html#running-tests-across-multiple-cpus

@sanrishi
Copy link
Contributor Author

sanrishi commented Feb 4, 2026

Thanks for the tip on --dist loadgroup. @rcomer
However, since that doesn't pause the other worker, I am identifying the specific heavy test causing the starvation so I can lock it exclusively.

@melissawm melissawm added the CI: testing CI configuration and testing label Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: testing CI configuration and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants