Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support running tests with python-xdist #1048

Open
Apteryks opened this issue Nov 30, 2024 · 1 comment
Open

[feature request] support running tests with python-xdist #1048

Apteryks opened this issue Nov 30, 2024 · 1 comment

Comments

@Apteryks
Copy link

Hello,

Running the test suite with pytest-xdist in parallel reduces its length from 280 s to 80 s. Unfortunately, it introduces a few spurious test failures as spot in #988. It'd be nice to ensure the tests can run safely concurrently to support this use case.

Thanks for your consideration!

@Apteryks
Copy link
Author

There appears to be just two test modules which have problematic tests when it comes to running them in parallel, as using the following pytest options I can run the test suite 10 times in a row without fail:

--ignore=tests/test_restarter.py
--ignore=tests/test_client.py

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

No branches or pull requests

1 participant