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 11:25:52 UTC

[jira] [Resolved] (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 resolved OAK-2671.
---------------------------------
    Resolution: Fixed

Revision 1668835 (trunk)
revision 1668836 (1.0 branch)

> 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, 1.0.13
>
>
> 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)