Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
None
-
Reviewed
Description
DirectoryScanner does not join all the threads it spawned during DirectoryScanner#shutdown.
This can lead to rare failures in TestDirectoryScanner when some threads linger past their designated expiration date and cause interference between different test runs.
The fix is to call ExecutorService#awaitTermination.