mirror of https://github.com/apache/lucene.git
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:
parent
7227cb3e57
commit
4e73371fc4
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue