Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed IndexStorageFactory#shutdown()
Method was used to close the DirectoryFactory which was passed in as a constructor dependency. This was not a good idea because DirectoryFactory has a completely different lifecycle than IndexStorageFactory. Closing of the in-memory directory factory caused flaky tests because content of in-memory lucene directories did not survive intentional database restarts.
- Loading branch information
1 parent
381858a
commit e480e9b
Showing
3 changed files
with
14 additions
and
22 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
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
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