You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/06/19 17:32:07 UTC
[jira] Resolved: (LUCENE-1639) intermittent failure in
TestIndexWriter. testRandomIWReader
[ https://issues.apache.org/jira/browse/LUCENE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-1639.
----------------------------------------
Resolution: Fixed
> intermittent failure in TestIndexWriter. testRandomIWReader
> -----------------------------------------------------------
>
> Key: LUCENE-1639
> URL: https://issues.apache.org/jira/browse/LUCENE-1639
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 2.9
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 2.9
>
> Attachments: LUCENE-1639.patch
>
>
> Rarely, this test (which was added with LUCENE-1516) fails in MockRAMDirectory.close because some files were not closed, eg:
> {code}
> [junit] NOTE: random seed of testcase 'testRandomIWReader' was: -5001333286299627079
> [junit] ------------- ---------------- ---------------
> [junit] Testcase: testRandomIWReader(org.apache.lucene.index.TestStressIndexing2): Caused an ERROR
> [junit] MockRAMDirectory: cannot close: there are still open files: {_cq.tvx=3, _cq.fdx=3, _cq.tvf=3, _cq.tvd=3, _cq.fdt=3}
> [junit] java.lang.RuntimeException: MockRAMDirectory: cannot close: there are still open files: {_cq.tvx=3, _cq.fdx=3, _cq.tvf=3, _cq.tvd=3, _cq.fdt=3}
> [junit] at org.apache.lucene.store.MockRAMDirectory.close(MockRAMDirectory.java:292)
> [junit] at org.apache.lucene.index.TestStressIndexing2.testRandomIWReader(TestStressIndexing2.java:66)
> [junit] at org.apache.lucene.util.LuceneTestCase.runTest(LuceneTestCase.java:88)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org