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

Tomek Rękawek commented on OAK-4828:
------------------------------------

[~julian.resc...@gmx.de] - do you mind testing if the current oak-upgrade 
version works after bumping the segment-tar version?

> oak-ugrade tests fail with segment tar 0.0.12 (on Windows)
> ----------------------------------------------------------
>
>                 Key: OAK-4828
>                 URL: https://issues.apache.org/jira/browse/OAK-4828
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: 1.5.10
>            Reporter: Julian Reschke
>             Fix For: Segment Tar 0.0.16
>
>
> When the dependency for segment tar is changed from 0.0.10 to 0.0.12 (see 
> OAK-4823), test cases fail due to files being open and thus not deleted on 
> Windows:
> {noformat}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.781 sec <<< 
> FAILURE!
> upgradeFrom10(org.apache.jackrabbit.oak.upgrade.UpgradeOldSegmentTest)  Time 
> elapsed: 0.781 sec  <<< ERROR!
> java.io.IOException: Unable to delete file: 
> target\UpgradeOldSegmentTest\test-repo-new\segmentstore\data00000a.tar
>         at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
>         at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
>         at 
> org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
>         at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
>         at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
>         at 
> org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
>         at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
>         at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
>         at 
> org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
>         at 
> org.apache.jackrabbit.oak.upgrade.UpgradeOldSegmentTest.upgradeFrom10(UpgradeOldSegmentTest.java:119)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)



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

Reply via email to