lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless" <luc...@mikemccandless.com>
Subject Re: TestIndexWriter.testAddIndexOnDiskFull failed
Date Thu, 05 Apr 2007 18:11:38 GMT

"Paul Elschot" <paul.elschot@xs4all.nl> wrote:
> At revision 525912:
> 
>     [junit] Testsuite: org.apache.lucene.index.TestIndexWriter
>     [junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 52.161
>     sec
>     [junit]
>     [junit] Testcase: 
> testAddIndexOnDiskFull(org.apache.lucene.index.TestIndexWriter):  FAILED
>     [junit] max free Directory space required exceeded 1X the total input 
> index sizes during addIndexes(IndexReader[]): max temp usage = 127589
> bytes; 
> starting disk usage = 3915 bytes; input index disk usage = 
> 7364554824446210604 bytes
>     [junit] junit.framework.AssertionFailedError: max free Directory
>     space 
> required exceeded 1X the total input index sizes during 
> addIndexes(IndexReader[]): max temp usage = 127589 bytes; starting disk
> usage 
> = 3915 bytes; input index disk usage = 7364554824446210604 bytes
>     [junit]     at 
> org.apache.lucene.index.TestIndexWriter.testAddIndexOnDiskFull(TestIndexWriter.java:387)
>     [junit]
> 
> Is there anything I can do to make this test pass locally?

I just got a fresh checkout and the test is passing.  That's one scary output
from the test (input index disk usage).  It seems like RAMDirectory.fileLength(...)
may be returning a bad (incorrectly immense) result in your checkout?

Mike

---------------------------------------------------------------------
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