Add test for cache_path race condition
This mocks out the isdir call so that the directory is created immediately after you determine whether or not it exists, thus simulating a race condition between two threads or processes creating the same directory.
Showing
Please register or sign in to comment