Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/changes/newsfragments/xxxx.underthehood
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tests are now distributed between pytest-xdist workers using ``worksteal`` rather than
``loadfile``, so that a single slow test file no longer determines the duration of the
test run.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ reportUnnecessaryContains = "none"
[tool.pytest.ini_options]
minversion = "7.2"
testpaths = "tests"
addopts = "-n auto --dist=loadfile --cov-config=pyproject.toml"
addopts = "-n auto --dist=worksteal --cov-config=pyproject.toml"
asyncio_default_fixture_loop_scope = "function"
markers = "serial"

Expand Down
Loading