"Paul Elschot" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]