lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r823843 - /lucene/solr/trunk/src/test/org/apache/solr/client/solrj/LargeVolumeTestBase.java
Date Sat, 10 Oct 2009 11:44:45 GMT
Author: yonik
Date: Sat Oct 10 11:44:45 2009
New Revision: 823843

URL: http://svn.apache.org/viewvc?rev=823843&view=rev
Log:
tests - fix LargeVolumeJettyTest failure

Modified:
    lucene/solr/trunk/src/test/org/apache/solr/client/solrj/LargeVolumeTestBase.java

Modified: lucene/solr/trunk/src/test/org/apache/solr/client/solrj/LargeVolumeTestBase.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/test/org/apache/solr/client/solrj/LargeVolumeTestBase.java?rev=823843&r1=823842&r2=823843&view=diff
==============================================================================
--- lucene/solr/trunk/src/test/org/apache/solr/client/solrj/LargeVolumeTestBase.java (original)
+++ lucene/solr/trunk/src/test/org/apache/solr/client/solrj/LargeVolumeTestBase.java Sat Oct
10 11:44:45 2009
@@ -51,6 +51,10 @@
     for (int i=0; i<threadCount; i++) {
       threads[i].join();
     }
+
+    // some of the commits could have failed because maxWarmingSearchers exceeded,
+    // so do a final commit to make sure everything is visible.
+    gserver.commit();
     
     query(threadCount * numdocs);
     System.out.println("done");



Mime
View raw message