lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1443672 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/SyncSliceTest.java
Date Thu, 07 Feb 2013 19:20:10 GMT
Author: markrmiller
Date: Thu Feb  7 19:20:10 2013
New Revision: 1443672

URL: http://svn.apache.org/r1443672
Log:
tests: attempt to harden

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

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/SyncSliceTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/SyncSliceTest.java?rev=1443672&r1=1443671&r2=1443672&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/SyncSliceTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/SyncSliceTest.java Thu Feb 
7 19:20:10 2013
@@ -186,6 +186,11 @@ public class SyncSliceTest extends Abstr
     waitForThingsToLevelOut(15);
     waitForRecoveriesToFinish(false);
     
+    Thread.sleep(3000);
+    
+    waitForThingsToLevelOut(15);
+    waitForRecoveriesToFinish(false);
+    
     skipServers = getRandomOtherJetty(leaderJetty, null);
     skipServers.addAll( getRandomOtherJetty(leaderJetty, null));
     // skip list should be 
@@ -212,7 +217,7 @@ public class SyncSliceTest extends Abstr
     shardFailMessage = waitTillInconsistent();
     
     assertNotNull(
-        "shard1 should have just been set up to be inconsistent - but it's still consistent",
+        "Test Setup Failure: shard1 should have just been set up to be inconsistent - but
it's still consistent",
         shardFailMessage); 
     
     jetties = new HashSet<CloudJettyRunner>();



Mime
View raw message