Files
pytest-xdist/changelog/855.feature
Aleksandr Mezin 9b0b5b1495 Add --maxschedchunk CLI option (#857)
Maximum number of tests scheduled in one step.

Setting it to 1 will force pytest to send tests to workers one by one -
might be useful for a small number of slow tests.

Larger numbers will allow the scheduler to submit consecutive chunks of tests
to workers - allows reusing fixtures.

Unlimited if not set.

Fixes #855
Fixes #255
2022-12-23 08:21:20 -03:00

3 lines
101 B
Gherkin

Users can now configure ``load`` scheduling precision using ``--maxschedchunk`` command
line option.