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:46:53 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller updated OAK-2671:
--------------------------------
    Fix Version/s: 1.1.8

> 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
>             Fix For: 1.1.8
>
>
> 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)