Skip to content

Commit c7043b3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 12e0e55 commit c7043b3

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

server/src/test/java/org/elasticsearch/action/support/replication/TransportReplicationAllPermitsAcquisitionTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ void runWithPrimaryShardReference(final TransportReplicationAction.PrimaryShardR
392392
}
393393
}
394394
assertWarnings(
395-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
396-
+ "See the breaking changes documentation for the next major version."
395+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
396+
+ "See the breaking changes documentation for the next major version."
397397
);
398398
}
399399

server/src/test/java/org/elasticsearch/index/engine/ThreadPoolMergeExecutorServiceDiskSpaceTests.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,8 @@ public void testAvailableDiskSpaceMonitorSettingsUpdate() throws Exception {
524524
}
525525
if (setThreadPoolMergeSchedulerSetting) {
526526
assertWarnings(
527-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
528-
+ "See the breaking changes documentation for the next major version."
527+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
528+
+ "See the breaking changes documentation for the next major version."
529529
);
530530
}
531531
}
@@ -603,8 +603,8 @@ public void testAbortingOrRunningMergeTaskHoldsUpBudget() throws Exception {
603603
}
604604
if (setThreadPoolMergeSchedulerSetting) {
605605
assertWarnings(
606-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
607-
+ "See the breaking changes documentation for the next major version."
606+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
607+
+ "See the breaking changes documentation for the next major version."
608608
);
609609
}
610610
}
@@ -747,8 +747,8 @@ && randomBoolean()) {
747747
}
748748
if (setThreadPoolMergeSchedulerSetting) {
749749
assertWarnings(
750-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
751-
+ "See the breaking changes documentation for the next major version."
750+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
751+
+ "See the breaking changes documentation for the next major version."
752752
);
753753
}
754754
}
@@ -890,8 +890,8 @@ public void testUnavailableBudgetBlocksNewMergeTasksFromStartingExecution() thro
890890
}
891891
if (setThreadPoolMergeSchedulerSetting) {
892892
assertWarnings(
893-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
894-
+ "See the breaking changes documentation for the next major version."
893+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
894+
+ "See the breaking changes documentation for the next major version."
895895
);
896896
}
897897
}
@@ -1047,8 +1047,8 @@ public void testMergeTasksAreUnblockedWhenMoreDiskSpaceBecomesAvailable() throws
10471047
}
10481048
if (setThreadPoolMergeSchedulerSetting) {
10491049
assertWarnings(
1050-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
1051-
+ "See the breaking changes documentation for the next major version."
1050+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
1051+
+ "See the breaking changes documentation for the next major version."
10521052
);
10531053
}
10541054
}

server/src/test/java/org/elasticsearch/index/engine/ThreadPoolMergeExecutorServiceTests.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ public void testTargetIORateChangesWhenSubmittingMergeTasks() throws Exception {
303303
assertBusy(() -> assertTrue(threadPoolMergeExecutorService.allDone()));
304304
}
305305
assertWarnings(
306-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
307-
+ "See the breaking changes documentation for the next major version."
306+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
307+
+ "See the breaking changes documentation for the next major version."
308308
);
309309
}
310310

@@ -395,8 +395,8 @@ public void testIORateIsAdjustedForAllRunningMergeTasks() throws Exception {
395395
assertBusy(() -> assertTrue(threadPoolMergeExecutorService.allDone()));
396396
}
397397
assertWarnings(
398-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
399-
+ "See the breaking changes documentation for the next major version."
398+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
399+
+ "See the breaking changes documentation for the next major version."
400400
);
401401
}
402402

@@ -580,8 +580,8 @@ public void testMergeTasksRunConcurrently() throws Exception {
580580
assertBusy(() -> assertTrue(threadPoolMergeExecutorService.allDone()));
581581
}
582582
assertWarnings(
583-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
584-
+ "See the breaking changes documentation for the next major version."
583+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
584+
+ "See the breaking changes documentation for the next major version."
585585
);
586586
}
587587

@@ -643,8 +643,8 @@ public void testThreadPoolStatsWithBackloggedMergeTasks() throws Exception {
643643
});
644644
}
645645
assertWarnings(
646-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
647-
+ "See the breaking changes documentation for the next major version."
646+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
647+
+ "See the breaking changes documentation for the next major version."
648648
);
649649
}
650650

@@ -718,8 +718,8 @@ public void testBackloggedMergeTasksExecuteExactlyOnce() throws Exception {
718718
});
719719
}
720720
assertWarnings(
721-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
722-
+ "See the breaking changes documentation for the next major version."
721+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
722+
+ "See the breaking changes documentation for the next major version."
723723
);
724724
}
725725

server/src/test/java/org/elasticsearch/index/replication/IndexLevelReplicationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ public void testLateDeliveryAfterGCTriggeredOnReplica() throws Exception {
667667
shards.assertAllEqual(0);
668668
}
669669
assertWarnings(
670-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
671-
+ "See the breaking changes documentation for the next major version."
670+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
671+
+ "See the breaking changes documentation for the next major version."
672672
);
673673
}
674674

server/src/test/java/org/elasticsearch/index/shard/RefreshListenersTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ public void onFailedEngine(String reason, @Nullable Exception e) {
187187
@After
188188
public void tearDownListeners() throws Exception {
189189
assertWarnings(
190-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
191-
+ "See the breaking changes documentation for the next major version."
190+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
191+
+ "See the breaking changes documentation for the next major version."
192192
);
193193
IOUtils.close(engine, store, nodeEnvironment, () -> terminate(threadPool));
194194
}

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/repository/CcrRestoreSourceServiceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public void setUp() throws Exception {
5353
@After
5454
public void assertWarnings() {
5555
assertWarnings(
56-
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
57-
+ "See the breaking changes documentation for the next major version."
56+
"[indices.merge.scheduler.use_thread_pool] setting was deprecated in Elasticsearch and will be removed in a future release. "
57+
+ "See the breaking changes documentation for the next major version."
5858
);
5959
}
6060

0 commit comments

Comments
 (0)