You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/09/20 13:02:20 UTC

[jira] [Updated] (OAK-4828) oak-ugrade tests fail with segment tar 0.0.12 (on Windows)

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

Julian Reschke updated OAK-4828:
--------------------------------
    Summary: oak-ugrade tests fail with segment tar 0.0.12 (on Windows)  (was: oak-ugrade tests fail with segment tar 0.0.12)

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