Skip to content

Pytest 8.0.0 --maxfail fix caused a regression in pytest-xdist #12021

Closed
@bluetech

Description

@bluetech

See pytest-dev/pytest-xdist#1024. When using --maxfail and the max fails is reached in a certain worker, the worker executes session fixture teardown twice. A fix in pytest-xdist is not very simple from what I can tell.

Metadata

Metadata

Assignees

Labels

type: bugproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previously

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions