Skip to content

Session fixtures don't have effect with pytest-xdist #2868

@tanya-borisova

Description

@tanya-borisova

In #2839 , I created session fixtures to create a set of workspaces for testing,
Unfortunately, they don't work with pytest-xdist which I used to parallelise tests in #2840 (they still work but not as session-scoped, and get executed once per testing thread).

Find a different way to pre-create test workspaces, or a workaround for session scope fixtures for pytest, or abandon the idea of re-using test workspaces.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinge2e-testsE2E tests

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions