Fix IndexShardTestCase.recoverReplica(IndexShard, IndexShard, boolean) (#37414)
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.
This commit is contained in:
parent
f7eb517eb8
commit
23ae9808ba
|
@ -565,7 +565,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 **/
|
||||
|
|
Loading…
Reference in New Issue