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

Using pytest-xdist config: --dist=loadscope #109

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

Nusnus
Copy link
Member

@Nusnus Nusnus commented Dec 12, 2023

https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst#pytest-xdist-350-2023-11-21

pytest-xdist 3.5.0 (2023-11-21)

Features

pytest-dev/pytest-xdist#632: --dist=loadscope now sorts scopes by number of tests to assign largest scopes early -- in many cases this should improve overall test session running time, as there is less chance of a large scope being left to be processed near the end of the session, leaving other workers idle.

@Nusnus Nusnus self-assigned this Dec 12, 2023
Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.31%. Comparing base (dd14da1) to head (28218f3).
Report is 251 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   26.31%   26.31%           
=======================================
  Files          35       35           
  Lines        1007     1007           
  Branches      197      197           
=======================================
  Hits          265      265           
  Misses        709      709           
  Partials       33       33           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Nusnus Nusnus marked this pull request as ready for review December 12, 2023 14:54
@Nusnus Nusnus merged commit ab42c42 into celery:main Dec 12, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant