mirror of https://github.com/apache/lucene.git
SOLR-5468: Add wait loop to see replicas become active after restoring partitions; to address intermittent Jenkins test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b1035b1a9e
commit
b49788abfe
|
@ -234,6 +234,8 @@ public class ReplicationFactorTest extends AbstractFullDistribZkTestBase {
|
|||
getProxyForReplica(replicas.get(0)).reopen();
|
||||
getProxyForReplica(replicas.get(1)).reopen();
|
||||
|
||||
ensureAllReplicasAreActive(testCollectionName, shardId, numShards, replicationFactor, 30);
|
||||
|
||||
rf = sendDoc(4, minRf);
|
||||
assertTrue("Expected rf=3 as partitions to replicas have been healed, but got "+rf, rf == 3);
|
||||
|
||||
|
|
Loading…
Reference in New Issue