lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r989315 - /lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java
Date Wed, 25 Aug 2010 19:27:58 GMT
Author: mikemccand
Date: Wed Aug 25 19:27:57 2010
New Revision: 989315

URL: http://svn.apache.org/viewvc?rev=989315&view=rev
Log:
LUCENE-2598: make this test not use so many file descriptors

Modified:
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java

Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java?rev=989315&r1=989314&r2=989315&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java (original)
+++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java Wed
Aug 25 19:27:57 2010
@@ -651,6 +651,7 @@ public class TestIndexWriterReader exten
             do {
               try {
                 writer.addIndexes(dirs);
+                writer.maybeMerge();
               } catch (Throwable t) {
                 excs.add(t);
                 throw new RuntimeException(t);



Mime
View raw message