File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ The test distribution algorithm is configured with the ``--dist`` command-line o
50
50
.. _distribution modes :
51
51
52
52
* ``--dist load `` **(default) **: Sends pending tests to any worker that is
53
- available, without any guaranteed order.
53
+ available, without any guaranteed order. Scheduling can be fine-tuned with
54
+ the `--maxschedchunk ` option, see output of `pytest --help `.
54
55
55
56
* ``--dist loadscope ``: Tests are grouped by **module ** for *test functions *
56
57
and by **class ** for *test methods *. Groups are distributed to available
Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ def pytest_addoption(parser):
173
173
"one - might be useful for a small number of slow tests. "
174
174
"Larger numbers will allow the scheduler to submit consecutive "
175
175
"chunks of tests to workers - allows reusing fixtures. "
176
+ "Due to implementation reasons, at least 2 tests are scheduled per "
177
+ "worker at the start. Only later tests can be scheduled one by one. "
176
178
"Unlimited if not set."
177
179
),
178
180
)
You can’t perform that action at this time.
0 commit comments