[
https://issues.apache.org/jira/browse/OAK-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636458#comment-15636458
]
Tomek Rękawek commented on OAK-5009:
------------------------------------
[~tmueller], as far as I know these Windows exceptions related to MMAPed files,
it'll still break in the teardown() method:
{code}
FileUtils.deleteDirectory(repository);
{code}
A strategy taken in similar cases is to catch the exception and ignore it (it's
ok to do it, since the directory will be created in target/, which is temporary
anyway). Feel free to fix it or assign it to me (as you said, it's my code
after all).
> ExternalToExternalMigrationTest failures on Windows
> ---------------------------------------------------
>
> Key: OAK-5009
> URL: https://issues.apache.org/jira/browse/OAK-5009
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, segment-tar
> Reporter: Julian Reschke
> Labels: test-failure
> Fix For: 1.5.13
>
>
> {noformat}
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 13.484 sec
> <<< FAILURE! - in
> org.apache.jackrabbit.oak.segment.migration.ExternalToExternalMigrationTest
> blobsCanBeReadAfterSwitchingBlobStore(org.apache.jackrabbit.oak.segment.migration.ExternalToExternalMigrationTest)
> Time elapsed: 0.463 sec <<< ERROR!
> java.io.IOException: Unable to delete file:
> C:\tmp\1477483643533-0\segmentstore\data00001a.tar
> blobsExistsOnTheNewBlobStore(org.apache.jackrabbit.oak.segment.migration.ExternalToExternalMigrationTest)
> Time elapsed: 13.021 sec <<< ERROR!
> java.io.IOException: Unable to delete file:
> C:\tmp\1477483643996-0\segmentstore\data00000a.tar
> Running
> org.apache.jackrabbit.oak.segment.migration.SegmentToExternalMigrationTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 12.719 sec
> <<< FAILURE! - in
> org.apache.jackrabbit.oak.segment.migration.SegmentToExternalMigrationTest
> blobsCanBeReadAfterSwitchingBlobStore(org.apache.jackrabbit.oak.segment.migration.SegmentToExternalMigrationTest)
> Time elapsed: 0.157 sec <<< ERROR!
> java.io.IOException: Unable to delete file:
> C:\tmp\1477483657018-0\segmentstore\data00001a.tar
> blobsExistsOnTheNewBlobStore(org.apache.jackrabbit.oak.segment.migration.SegmentToExternalMigrationTest)
> Time elapsed: 12.561 sec <<< ERROR!
> java.io.IOException: Unable to delete file:
> C:\tmp\1477483657193-0\segmentstore\data00000a.tar
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)