[
https://issues.apache.org/jira/browse/LUCENE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965429#comment-13965429
]
Dawid Weiss commented on LUCENE-5592:
-------------------------------------
Oh, it's a silly, silly bug. I'll clean up the code as part of this though.
> Incorrectly reported uncloseable files.
> ---------------------------------------
>
> Key: LUCENE-5592
> URL: https://issues.apache.org/jira/browse/LUCENE-5592
> Project: Lucene - Core
> Issue Type: Bug
> Components: general/test
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
>
> As pointed out by Uwe, something dodgy is going on with unremovable file
> detection because they seem to cross a suite boundary, as in.
> {code}
> // trunk
> svn update -r1586300
> cd lucene\core
> ant clean test -Dtests.directory=SimpleFSDirectory
> {code}
> {code}
> [junit4] Suite: org.apache.lucene.search.spans.TestSpanSearchEquivalence
> ...
> [junit4] ERROR 0.00s J1 | TestSpanSearchEquivalence (suite) <<<
> [junit4] > Throwable #1: java.io.IOException: Could not remove the
> following files (in the order of attempts):
> [junit4] >
> C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001\_0.fdt
> [junit4] >
> C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001\_0_Lucene41_0.doc
> [junit4] >
> C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001\_0_Lucene41_0.tim
> [junit4] >
> C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001
> [junit4] >
> C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([8886562EBCD30121]:0)
> [junit4] > at org.apache.lucene.util.TestUtil.rm(TestUtil.java:118)
> [junit4] > at
> org.apache.lucene.util.LuceneTestCase$TemporaryFilesCleanupRule.afterAlways(LuceneTestCase.java:2358)
> [junit4] > at java.lang.Thread.run(Thread.java:722)
> [junit4] Completed on J1 in 0.41s, 8 tests, 1 error <<< FAILURES!
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]