Skip to content

With xdist: allow to decide the minimal size of chunks for the slaves #738

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

Closed
pytestbot opened this issue May 6, 2015 · 1 comment
Closed
Labels
plugin: xdist related to the xdist external plugin type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature

Comments

@pytestbot
Copy link
Contributor

Originally reported by: BitBucket: teudimundo, GitHub: teudimundo


In a specific scenario, I would need all the tests to be run in parallel at the same time.

Unfortunately seems that at the moment each slave will be fed with chunk of a minimal size of 2 tests.

I don't know if it might work but an argument to decide the size (or the minimal size) of chunks can be given. A further possibility would be to have a new value for -n could mean to allocate the number of slaves needed to run all the chunks in parallel.

So that using

py.test -n by-chunk-size --chunk-size 1

would execute all of them in parallel.


@pytestbot pytestbot added type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature plugin: xdist related to the xdist external plugin labels Jun 15, 2015
@RonnyPfannschmidt
Copy link
Member

Superseded by pytest-xdist issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: xdist related to the xdist external plugin type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature
Projects
None yet
Development

No branches or pull requests

2 participants