You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/03/24 10:35:52 UTC

[jira] [Created] (OAK-2671) Persistent cache: use different files in tests

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)