Skip to content

xdist fixes - #23791

Merged
Eleanor Boyd (eleanorjboyd) merged 3 commits into
microsoft:mainfrom
DetachHead:patch-2
Jul 22, 2024
Merged

xdist fixes#23791
Eleanor Boyd (eleanorjboyd) merged 3 commits into
microsoft:mainfrom
DetachHead:patch-2

Conversation

@DetachHead

@DetachHead DetachHead commented Jul 11, 2024

Copy link
Copy Markdown

@karthiknadig Karthik Nadig (karthiknadig) added the feature-request Request for new features or functionality label Jul 11, 2024
@karthiknadig Karthik Nadig (karthiknadig) changed the title don't use xdist when only running one test Don't use xdist when only running one test Jul 11, 2024
@vscodenpa VS Code Bot (vscodenpa) added this to the July 2024 milestone Jul 11, 2024
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) enabled auto-merge (squash) July 22, 2024 17:59
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) merged commit 226ba0a into microsoft:main Jul 22, 2024
Eleanor Boyd (eleanorjboyd) pushed a commit to eleanorjboyd/vscode-python that referenced this pull request Jul 30, 2024
- Don't use xdist when only running one test. this makes it slightly
faster when running one test, because instead of creating a single
worker it just runs the test in the same process
- fix microsoft#23816
- fix issue where the plugin was being registered multiple times

---------

Co-authored-by: detachhead <detachhead@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature-request Request for new features or functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

backwards compatible hookwrapper for pytest_xdist_auto_num_workers doesn't work

4 participants