-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
40
On Windows there are cases when a directory is still locked after mongo process has exited, which causes test failures. See BF-13075
One way to solve the problem is by making test directory a symbolic link, as described here: https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ . ResetDbpath will then be able to create a new directory and reset a link to point to the newly created directory, which will work even if existing directory can not be cleaned up.
- related to
-
SERVER-60887 Retry directory destruction in ResetDbpath
- Closed