lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1639) intermittent failure in TestIndexWriter. testRandomIWReader
Date Fri, 19 Jun 2009 17:06:07 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721881#action_12721881
] 

Jason Rutherglen commented on LUCENE-1639:
------------------------------------------

Great work Mike!  I wonder if I was sometimes seeing this during development.

> 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


Mime
View raw message