-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The ExpirationFileStoreDistListenerFunctionalTest creates a temporary directory for use of the file store. It cleans up using a method annotated with AfterClass to delete the temporary directory. Unfortunately, there is another AfterClass method in its base class that shuts down the cache manager. This can cause an issue if the store is trying to clean itself on shutdown and the directory underneath it is gone.
Another issue is that the extraManager it spawns is not stopped in the scope of the test class and requires the test cleaner to stop it later. At this point the directory will yet again be deleted possibly causing another issue.