Skip to content

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

Open
@tanya-borisova

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workinge2e-testsE2E tests

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions