mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-11-25 15:06:20 +01:00
test-ci ran the tests without a server with `-n auto`, one pytest-xdist worker per core. On a machine with 32 cores and 16 GB of memory this exhausted the threads (Windows, `RuntimeError: can't start new thread`) or the memory (WSL); with eight workers all parts passed (reported in the review of this pull request). The target now adds `--maxprocesses=$(TEST_CI_MAX_WORKERS)` with a default of 8, so it still starts one worker per core, but at most eight. `make test-ci TEST_CI_MAX_WORKERS=<n>` changes the limit. CI is not affected: its jobs call pytest themselves, on runners with four cores. Additional changes Describe the limit, `--maxprocesses` and `PYTEST_XDIST_AUTO_NUM_WORKERS` in the developer documentation Refs #1553 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Assisted-by: Claude Code (claude-fable-5-2)