File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ markers =
99 unit: marks tests as unit tests
1010 offline: marks tests that can run without REF
1111 needs_ref: marks tests that require REF to be running
12- addopts = -v --tb =short -n 4 --dist loadfile --cov =helpers --cov-report =term-missing --cov-report =html:coverage_reports/htmlcov --cov-report =xml:coverage_reports/coverage.xml
12+ addopts = -v --tb =short -n 10 --dist loadfile --cov =helpers --cov-report =term-missing --cov-report =html:coverage_reports/htmlcov --cov-report =xml:coverage_reports/coverage.xml
1313filterwarnings =
1414 ignore::DeprecationWarning
1515timeout = 300
1616
17- # Parallel execution with pytest-xdist (default: 4 workers with loadfile distribution)
18- # Override workers: pytest -n auto (auto-detect CPUs) or pytest -n 8
19- # Disable parallel : pytest -n 0
17+ # Parallel execution with pytest-xdist (default: 10 workers with loadfile distribution)
18+ # 10 workers matches the number of E2E/integration test files for optimal parallelization
19+ # Override workers : pytest -n auto (auto-detect CPUs) or pytest -n 0 (serial)
2020# Each worker gets its own REF instance for E2E tests
2121# loadfile keeps all tests from the same file on one worker (preserves cross-class state)
You can’t perform that action at this time.
0 commit comments