Skip to content

Run some tests serially in pytest-xdist - #12395

Merged
crusaderky merged 2 commits into
dask:mainfrom
crusaderky:xdist-serial
May 14, 2026
Merged

crusaderky merged 2 commits into
dask:mainfrom
crusaderky:xdist-serial

Conversation

@crusaderky

Copy link
Copy Markdown
Collaborator

These tests are very obviously racy as they contend for the same resources across processes.
I'm very confused as to why they don't trip all the times in CI.

This PR also changes the number of xdist workers from 4 to auto. In ubuntu-latest, this changes from 4 to 2.
There is no change in end-to-end runtime.

@crusaderky crusaderky added the tests Unit tests and/or continuous integration label May 14, 2026
@crusaderky
crusaderky merged commit b61ecfe into dask:main May 14, 2026
24 of 26 checks passed
@crusaderky
crusaderky deleted the xdist-serial branch May 14, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Unit tests and/or continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant