mirror of https://github.com/apache/lucene.git
test: work on hardening this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444468 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d37c98d95a
commit
f90584d0db
|
@ -214,7 +214,8 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
|
|||
shardFailMessage = waitTillInconsistent();
|
||||
|
||||
assertNotNull(
|
||||
"Test Setup Failure: 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. Leader:" + leaderJetty.url +
|
||||
"skip list:" + skipServers,
|
||||
shardFailMessage);
|
||||
|
||||
jetties = new HashSet<CloudJettyRunner>();
|
||||
|
@ -240,7 +241,7 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
|
|||
|
||||
private void waitTillRecovered() throws Exception {
|
||||
for (int i = 0; i < 30; i++) {
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(3000);
|
||||
ZkStateReader zkStateReader = cloudClient.getZkStateReader();
|
||||
zkStateReader.updateClusterState(true);
|
||||
ClusterState clusterState = zkStateReader.getClusterState();
|
||||
|
|
Loading…
Reference in New Issue