Skip to content

Commit 82f27f5

Browse files
committed
fixed issues after merge
1 parent 569ef55 commit 82f27f5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardFollowNodeTaskTests.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,7 @@ ShardFollowNodeTask createShardFollowTask(int maxBatchOperationCount, int maxCon
574574
AtomicBoolean stopped = new AtomicBoolean(false);
575575
ShardFollowTask params = new ShardFollowTask(null, new ShardId("follow_index", "", 0),
576576
new ShardId("leader_index", "", 0), maxBatchOperationCount, maxConcurrentReadBatches, maxBatchSizeInBytes,
577-
maxConcurrentWriteBatches, bufferWriteLimit, TimeValue.timeValueMillis(500), TimeValue.timeValueMillis(10),
578-
Collections.emptyMap());
577+
maxConcurrentWriteBatches, bufferWriteLimit, TimeValue.ZERO, TimeValue.ZERO, Collections.emptyMap());
579578

580579
shardChangesRequests = new ArrayList<>();
581580
bulkShardOperationRequests = new ArrayList<>();
@@ -584,8 +583,7 @@ ShardFollowNodeTask createShardFollowTask(int maxBatchOperationCount, int maxCon
584583
mappingUpdateFailures = new LinkedList<>();
585584
imdVersions = new LinkedList<>();
586585
followerGlobalCheckpoints = new LinkedList<>();
587-
return new ShardFollowNodeTask(1L, "type", ShardFollowTask.NAME, "description", null, Collections.emptyMap(),
588-
params, scheduler, TimeValue.ZERO, TimeValue.ZERO) {
586+
return new ShardFollowNodeTask(1L, "type", ShardFollowTask.NAME, "description", null, Collections.emptyMap(), params, scheduler) {
589587

590588
@Override
591589
protected void innerUpdateMapping(LongConsumer handler, Consumer<Exception> errorHandler) {

0 commit comments

Comments
 (0)