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

persistence tests fail due to shared state

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 9.4.13.Final
    • None
    • None

      SoftIndexFileStoreFunctionalTest (and others with the same pattern) uses a new (differently named) cache for each test function, assuming each is created empty. However, it reuses the same persistence tmp directory for every test and doesn't clear it between test functions. Thus a new cache can load stale persistent state from a previous test, causing intermittent failures. Perhaps use the cache name in the tmp dir path, or delete the shared dir every time, though that assumes nothing is holding an open handle on it.

              Unassigned Unassigned
              rhn-engineering-jhallida Jonathan Halliday
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: