Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Add environment variable with index of process/thread #73

Open
maxmcd opened this issue May 23, 2020 · 1 comment
Open

Add environment variable with index of process/thread #73

maxmcd opened this issue May 23, 2020 · 1 comment

Comments

@maxmcd
Copy link

maxmcd commented May 23, 2020

pytest-xdist has PYTEST_XDIST_WORKER which we use to create a unique DB for each thread. Could pytest-parallel provide something similar?

Happy to work on this if there is interest

@maxmcd
Copy link
Author

maxmcd commented May 24, 2020

Added this: voltusdev@868f69d

Strangely, the value stored in this variable disappears near the end of the test run. Not sure if that's due to an issue with this implementation or something else in my environment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant