lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1038112 - /lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestIndexWriter.java
Date Tue, 23 Nov 2010 13:45:50 GMT
Author: mikemccand
Date: Tue Nov 23 13:45:50 2010
New Revision: 1038112

URL: http://svn.apache.org/viewvc?rev=1038112&view=rev
Log:
fix intermittent false fail

Modified:
    lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestIndexWriter.java

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestIndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestIndexWriter.java?rev=1038112&r1=1038111&r2=1038112&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestIndexWriter.java
(original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestIndexWriter.java
Tue Nov 23 13:45:50 2010
@@ -670,6 +670,7 @@ public class TestIndexWriter extends Luc
         for(int i=0;i<19;i++)
           writer.addDocument(doc);
 
+        writer.commit();
         ((ConcurrentMergeScheduler) writer.getMergeScheduler()).sync();
         writer.commit();
 



Mime
View raw message