tests: attempt to harden

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-02-07 19:20:10 +00:00
parent 7227cb3e57
commit 4e73371fc4
1 changed files with 6 additions and 1 deletions

View File

@ -186,6 +186,11 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
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 AbstractFullDistribZkTestBase {
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>();