Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15675

ExpirationFileStoreDistListenerFunctionalTest doesn't clean up reliably

XMLWordPrintable

      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.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: