lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject Strange Test failure every 10 TestIndexWriter test runs or so
Date Sun, 18 Oct 2009 21:23:02 GMT
I get often the following test failure with exactly the same position and
file name, but only under windows, never in Solaris:

 

common.test:

    [mkdir] Created dir: C:\Projects\lucene\trunk-full1\build\test

    [junit] Testsuite: org.apache.lucene.index.TestIndexWriter

    [junit] Tests run: 102, Failures: 0, Errors: 1, Time elapsed: 100,297sec

    [junit]

    [junit] Testcase:
testExceptionDuringSync(org.apache.lucene.index.TestIndexWriter): Caused an
ERROR

    [junit] _a.fnm

    [junit] java.io.FileNotFoundException: _a.fnm

    [junit]     at
org.apache.lucene.store.MockRAMDirectory.openInput(MockRAMDirectory.java:226
)

    [junit]     at
org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:68)

    [junit]     at
org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:
116)

    [junit]     at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:620)

    [junit]     at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:590)

    [junit]     at
org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:104)

    [junit]     at
org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(ReadOnlyDirectoryRead
er.java:27)

    [junit]     at
org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:74)

    [junit]     at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:
704)

    [junit]     at
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)

    [junit]     at
org.apache.lucene.index.IndexReader.open(IndexReader.java:307)

    [junit]     at
org.apache.lucene.index.IndexReader.open(IndexReader.java:193)

    [junit]     at
org.apache.lucene.index.TestIndexWriter.testExceptionDuringSync(TestIndexWri
ter.java:2723)

    [junit]     at
org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:206)

    [junit]

    [junit]

    [junit] Test org.apache.lucene.index.TestIndexWriter FAILED

 

Maybe it has something to do with the deprecation removal, but it also
appeared in the past, but more seldom.

 

Any opinion?

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

http://www.thetaphi.de

eMail: uwe@thetaphi.de

 


Mime
View raw message