State leakage in session-scoped fixtures during parallel execution
Resource Contention in pytest-xdist Optimizing resource costs for test suites often involves using session-scoped fixtures to ensure expensive setup operations, such as database connections or API clients, occur only once per session. When integrating pytest-xdist for parallel execution, the session scope is maintained per worker process rather than across t