lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1421613 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java
Date Thu, 13 Dec 2012 23:11:01 GMT
Author: markrmiller
Date: Thu Dec 13 23:10:58 2012
New Revision: 1421613

URL: http://svn.apache.org/viewvc?rev=1421613&view=rev
Log:
extra insurance that recovery has started or occurred in this test

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java?rev=1421613&r1=1421612&r2=1421613&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/RecoveryZkTest.java Thu Dec
13 23:10:58 2012
@@ -82,6 +82,9 @@ public class RecoveryZkTest extends Abst
     indexThread.join();
     indexThread2.join();
     
+    Thread.sleep(500);
+    waitForRecoveriesToFinish(DEFAULT_COLLECTION, zkStateReader, false, true);
+    
     commit();
 
     // test that leader and replica have same doc count



Mime
View raw message