Fix IndexShardTestCase.recoverReplica(IndexShard, IndexShard, boolean)
This commit fixes the IndexShardTestCase.recoverReplica(IndexShard, IndexShard, boolean)
method where the startReplica parameter was not correctly propagated and the value
true always used instead.
@@ -551,7 +551,7 @@ public abstract class IndexShardTestCase extends ESTestCase {
recoverReplica(replica, primary,
(r, sourceNode) -> new RecoveryTarget(r, sourceNode, recoveryListener, version -> {
}),
- true, true);
+ true, startReplica);
}
/** recovers a replica from the given primary **/
