Hmm, the semantics have changed a little here. Now we do close the CFS in a finally block while this was simply omitted previously. Yet, I think we should allow empty CFS in such a situation nice its a valid CFS though. I don't see any problems with that, thoughts?
simon On Sat, Jul 2, 2011 at 9:02 AM, Apache Jenkins Server <jenk...@builds.apache.org> wrote: > Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9250/ > > 1 tests failed. > REGRESSION: > org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddDocumentOnDiskFull > > Error Message: > CFS has no entries > > Stack Trace: > java.lang.IllegalStateException: CFS has no entries > at > org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:139) > at > org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:181) > at > org.apache.lucene.store.DefaultCompoundFileDirectory.close(DefaultCompoundFileDirectory.java:58) > at > org.apache.lucene.index.SegmentMerger.createCompoundFile(SegmentMerger.java:139) > at > org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4252) > at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3863) > at > org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:37) > at > org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2715) > at > org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2710) > at > org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2706) > at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3513) > at > org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2064) > at > org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2031) > at > org.apache.lucene.index.TestIndexWriterOnDiskFull.addDoc(TestIndexWriterOnDiskFull.java:539) > at > org.apache.lucene.index.TestIndexWriterOnDiskFull.testAddDocumentOnDiskFull(TestIndexWriterOnDiskFull.java:74) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1277) > at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1195) > > > > > Build Log (for compile errors): > [...truncated 10583 lines...] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org