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

Tests should be able to run in parallel #134

Open
cdonovick opened this issue Jun 17, 2019 · 3 comments
Open

Tests should be able to run in parallel #134

cdonovick opened this issue Jun 17, 2019 · 3 comments
Assignees

Comments

@cdonovick
Copy link
Contributor

pytest --workes=auto test_micro.py and pytest --workes=auto test_pe.py fail.

Given how long test_pe.py takes it would be nice to run it in parallel.

@cdonovick cdonovick assigned cdonovick and leonardt and unassigned cdonovick Jun 17, 2019
@leonardt
Copy link
Contributor

Are you using pytest-parallel or pytest-xdist?

@cdonovick
Copy link
Contributor Author

-parallel. Does xdist work?

@leonardt
Copy link
Contributor

Doubt it, wanted to know to lookup the API for getting the thread ID so each thread can create their own unique test/build directory, but that has complications, so I think it makes more sense to do the approach you sketched (each test copies the required files to a tempdir)

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

2 participants