Thomas Mueller created OAK-2671:
-----------------------------------

             Summary: Persistent cache: use different files in tests
                 Key: OAK-2671
                 URL: https://issues.apache.org/jira/browse/OAK-2671
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


Each test should use its own persistent cache. 

The tests use the configuration suffix ",time" so that for each persistent 
cache created in a test, the directory name contains the current time in 
milliseconds. However, this is not guaranteed to be unique if multiple tests 
are started concurrently.

An static atomic counter should be used to prevent multiple persistent caches 
having the same name.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to