File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
internalClusterTest/java/org/elasticsearch/recovery
main/java/org/elasticsearch/index/shard Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments