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

Francesco Mari updated OAK-4241:
--------------------------------
    Comment: was deleted

(was: [~jsedding], I suspect we are not talking about the same thing. The 
method I referred to above looks like this:

{code:java}
@After
public void clean() throws IOException {
    session.logout();
    repository.shutdown();
    getDestinationContainer().close();
    getDestinationContainer().clean();
    getSourceContainer().clean();
}
{code}

but I think that should look like this:

{code:java}
@After
public void clean() throws IOException {
    session.logout();
    repository.shutdown();
    getDestinationContainer().close();
    getDestinationContainer().clean();
    getSourceContainer().close();
    getSourceContainer().clean();
}
{code})

> JdbcNodeStoreContainer does not correctly clean up H2 temp files
> ----------------------------------------------------------------
>
>                 Key: OAK-4241
>                 URL: https://issues.apache.org/jira/browse/OAK-4241
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: upgrade
>    Affects Versions: 1.5.1
>            Reporter: Julian Sedding
>            Assignee: Julian Sedding
>            Priority: Minor
>             Fix For: 1.5.2
>
>
> {{JdbcNodeStoreContainer}} used by two tests assumes incorrectly that H2 
> places its DB files into a folder passed in the JDBC URL. However, H2 assumes 
> that the last path element is the database name and creates multiple files 
> with different extensions.
> Due to this {{JdbcNodeStoreContainer}} does leave files behind.



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

Reply via email to