Skip to content

Commit 77058ad

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 661fa12 commit 77058ad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

server/src/internalClusterTest/java/org/elasticsearch/recovery/RelocationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void testSimpleRelocationWithIndexingPaused() throws Exception {
181181
prepareCreate("test", indexSettings(1, 0)).get();
182182

183183
logger.info("--> index docs");
184-
int numDocs = between(1,10);
184+
int numDocs = between(1, 10);
185185
for (int i = 0; i < numDocs; i++) {
186186
prepareIndex("test").setId(Integer.toString(i)).setSource("field", "value" + i).get();
187187
}

server/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3843,8 +3843,12 @@ public void blockOperations(
38433843
// go ahead and release the indexing permit it holds.
38443844
suspendThrottling();
38453845
try {
3846-
indexShardOperationPermits.blockOperations(ActionListener.runAfter(onAcquired, this::resumeThrottling),
3847-
timeout, timeUnit, executor);
3846+
indexShardOperationPermits.blockOperations(
3847+
ActionListener.runAfter(onAcquired, this::resumeThrottling),
3848+
timeout,
3849+
timeUnit,
3850+
executor
3851+
);
38483852
} catch (IndexShardClosedException e) {
38493853
resumeThrottling();
38503854
throw e;

0 commit comments

Comments
 (0)