Skip to content

use number of processors provided by system instead of auto for pytest-xdist in CI - #7265

Draft
firewave wants to merge 1 commit into
cppcheck-opensource:mainfrom
firewave:pytest-dist
Draft

use number of processors provided by system instead of auto for pytest-xdist in CI#7265
firewave wants to merge 1 commit into
cppcheck-opensource:mainfrom
firewave:pytest-dist

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

we have mostly 4 threads available per runner but using -n auto is only using 2

we have mostly 4 threads available per runner but using `-n auto` is only using 2
@firewave

firewave commented Jan 27, 2025

Copy link
Copy Markdown
Collaborator Author

Ugh. That seems to overload the runner causing one of the performance tests to fail more often. This might apply to other code relying on nproc.

@firewave
firewave marked this pull request as draft January 27, 2025 19:27
@firewave firewave changed the title number of processors provided by system instead for pytest-xdist in CI use number of processors provided by system instead of auto for pytest-xdist in CI Jan 30, 2025
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