Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdist fixes #23791

Merged
merged 3 commits into from
Jul 22, 2024
Merged

xdist fixes #23791

merged 3 commits into from
Jul 22, 2024

Conversation

DetachHead
Copy link

@DetachHead DetachHead commented Jul 11, 2024

@karthiknadig karthiknadig added the feature-request Request for new features or functionality label Jul 11, 2024
@karthiknadig 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
karthiknadig
karthiknadig previously approved these changes Jul 11, 2024
@VSCodeTriageBot VSCodeTriageBot added this to the July 2024 milestone Jul 11, 2024
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) July 22, 2024 17:59
@eleanorjboyd eleanorjboyd merged commit 226ba0a into microsoft:main Jul 22, 2024
40 checks passed
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 <[email protected]>
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