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

Vikas Saurabh commented on OAK-4229:
------------------------------------

The fix is as simple as doing this in OakTarMKRepositoryStub
{code}
             @Override
             public void run() {
                 store.close();
+                FileUtils.deleteQuietly(directory);
             }
{code}
But, I'm not sure if we really would want to do this (keeping repository for 
post test???). Also, this is a more common piece of code that the ones I've 
been looking in (basically oak-lucene :). So, [~chetanm], [~mreutegg] can you 
guys share your opinions?

> OakTarMKRepositoryStub doesn't delete repository after closing store
> --------------------------------------------------------------------
>
>                 Key: OAK-4229
>                 URL: https://issues.apache.org/jira/browse/OAK-4229
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Minor
>




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

Reply via email to