With xdist: allow to decide the minimal size of chunks for the slaves #738
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
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.
The text was updated successfully, but these errors were encountered: