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 <lu...@mikemccandless.com> on 2010/07/29 12:15:09 UTC

Re: Lucene Test Case Failure: org.apache.lucene.index.TestIndexWriter.testCommitThreadSafety (from TestIndexWriter)

I opened LUCENE-2576 for this one.

Mike

On Wed, Jul 28, 2010 at 3:59 PM, Mark Miller <ma...@gmail.com> wrote:
> Error Message
>
> MockRAMDirectory: cannot close: there are still open files: {_1m.cfs=1,
> _1k.cfs=1, _14.cfs=1, _1g.cfs=1, _1h.cfs=1, _1f.cfs=1, _1n.cfs=1,
> _1i.cfs=1, _1j.cfs=1, _1l.cfs=1}
>
> Stacktrace
>
> java.lang.RuntimeException: MockRAMDirectory: cannot close: there are
> still open files: {_1m.cfs=1, _1k.cfs=1, _14.cfs=1, _1g.cfs=1,
> _1h.cfs=1, _1f.cfs=1, _1n.cfs=1, _1i.cfs=1, _1j.cfs=1, _1l.cfs=1}
>        at
> org.apache.lucene.store.MockRAMDirectory.close(MockRAMDirectory.java:282)
>        at
> org.apache.lucene.index.TestIndexWriter.testCommitThreadSafety(TestIndexWriter.java:4616)
>        at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328)
>
> Standard Output
>
> NOTE: random codec of testcase 'testCommitThreadSafety' was: Sep
>
> Standard Error
>
> The following exceptions were thrown by threads:
> *** Thread: Thread-1784 ***
> java.lang.RuntimeException: junit.framework.AssertionFailedError: null
>        at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4606)
> Caused by: junit.framework.AssertionFailedError: null
>        at junit.framework.Assert.fail(Assert.java:47)
>        at junit.framework.Assert.assertTrue(Assert.java:20)
>        at junit.framework.Assert.assertTrue(Assert.java:27)
>        at org.apache.lucene.index.TestIndexWriter$9.run(TestIndexWriter.java:4597)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org