[ 
https://issues.apache.org/jira/browse/OAK-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247923#comment-15247923
 ] 

Francesco Mari commented on OAK-4241:
-------------------------------------

I never peeked into that code before, but 
{{o.a.j.o.upgrade.cli.AbstractOak2OakTest#clean}} seems incomplete to me. Why 
there is not call to {{getSourceContainer().close()}}?

> 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
>
> {{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