-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14089 from brwe/fix-test-access-denied
fix access denied for shard deletion with WindowsFS We randomly use the WindowsFS mock file system to simulate that windows does not delete files if they are opened by some other process and instead gives you java.io.IOException: access denied. In the tests we also check if the shard was deleted while it is being deleted. This check loads the mata data of the index and therefore might hold on to a file while the node is trying to delete it and deletion will fail then. Instead we should just check if the directory was removed. closes #13758
- Loading branch information
Showing
1 changed file
with
37 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters