Before submitting the issue
Description of the bug
When multiple tests share the same temp directory name and are run in parallel, the temp directory may be deleted by one test prior to completion of another test. This causes unit tests to fail randomly.
Steps To Reproduce
This is very difficult to reproduce as it depends on the timing of multiple tests. PR #7212 is failing because of this issue.
The issue could probably be resolved by assigning a unique folder name to data for each test.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
All dependencies are installed.
Before submitting the issue
Description of the bug
When multiple tests share the same temp directory name and are run in parallel, the temp directory may be deleted by one test prior to completion of another test. This causes unit tests to fail randomly.
Steps To Reproduce
This is very difficult to reproduce as it depends on the timing of multiple tests. PR #7212 is failing because of this issue.
The issue could probably be resolved by assigning a unique folder name to data for each test.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
All dependencies are installed.