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

ExpirationFileStoreDistListenerFunctionalTest doesn't clean up reliably

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: