-
Notifications
You must be signed in to change notification settings - Fork 3k
Set specific cache directories per test function call #2244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@lhoestq, I think this reaches some memory limit on Linux instances... (?) |
It looks like the |
@lhoestq thanks for the hint: I'm going to have a look at that mock... ;) |
@lhoestq finally I did not find out why the mock is not used... If you can give me some other hint tomorrow... |
Implement specific cache directories (datasets, metrics and modules) per test function call.
Currently, the cache directories are set within the temporary test directory, but they are shared across all test function calls.
This PR implements specific cache directories for each test function call, so that tests are atomic and there are no side effects.