[jira] [Commented] (OAK-4831) Don't break the upgrade tests if the directory can't be cleaned-up

2016-09-21 Thread JIRA

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

Tomek Rękawek commented on OAK-4831:


Thanks, I wasn't aware about this. In the 
[r1761700|https://svn.apache.org/r1761700] I fixed all the remaining tests in 
the oak-upgrade to use the ./target as the temporary directory.

> Don't break the upgrade tests if the directory can't be cleaned-up
> --
>
> Key: OAK-4831
> URL: https://issues.apache.org/jira/browse/OAK-4831
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: upgrade
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.6, 1.5.11
>
>
> The oak-upgrade tests creates a lot of repositories. If a repository doesn't 
> release the directory it uses, [the whole test 
> fails|http://jackrabbit.markmail.org/thread/lmffrxvki7nxm3qy]. We should 
> handle it more gracefully:
> a) log the exact reason why the directory can't be removed,
> b) carry on with the tests,
> c) create directories in the Maven target directory, so they can be easily 
> removed with {{mvn clean}}



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


[jira] [Commented] (OAK-4831) Don't break the upgrade tests if the directory can't be cleaned-up

2016-09-21 Thread JIRA

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

Michael Dürig commented on OAK-4831:


bq. create directories in the Maven target directory

FTR, this is also important for the Apache Jenkins CI where /tmp is located on 
a partition with limited space. See OAK-4416

> Don't break the upgrade tests if the directory can't be cleaned-up
> --
>
> Key: OAK-4831
> URL: https://issues.apache.org/jira/browse/OAK-4831
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: upgrade
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.6, 1.5.11
>
>
> The oak-upgrade tests creates a lot of repositories. If a repository doesn't 
> release the directory it uses, [the whole test 
> fails|http://jackrabbit.markmail.org/thread/lmffrxvki7nxm3qy]. We should 
> handle it more gracefully:
> a) log the exact reason why the directory can't be removed,
> b) carry on with the tests,
> c) create directories in the Maven target directory, so they can be easily 
> removed with {{mvn clean}}



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


[jira] [Commented] (OAK-4831) Don't break the upgrade tests if the directory can't be cleaned-up

2016-09-21 Thread JIRA

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

Tomek Rękawek commented on OAK-4831:


Fixed for trunk in [r1761695|https://svn.apache.org/r1761695].

> Don't break the upgrade tests if the directory can't be cleaned-up
> --
>
> Key: OAK-4831
> URL: https://issues.apache.org/jira/browse/OAK-4831
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: upgrade
>Reporter: Tomek Rękawek
>Assignee: Tomek Rękawek
> Fix For: 1.6, 1.5.11
>
>
> The oak-upgrade tests creates a lot of repositories. If a repository doesn't 
> release the directory it uses, [the whole test 
> fails|http://jackrabbit.markmail.org/thread/lmffrxvki7nxm3qy]. We should 
> handle it more gracefully:
> a) log the exact reason why the directory can't be removed,
> b) carry on with the tests,
> c) create directories in the Maven target directory, so they can be easily 
> removed with {{mvn clean}}



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