File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/src/internalClusterTest/java/org/elasticsearch/action/search Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99
1010package org .elasticsearch .action .search ;
1111
12+ import com .carrotsearch .randomizedtesting .annotations .Repeat ;
13+
1214import org .apache .lucene .index .LeafReaderContext ;
1315import org .apache .lucene .search .ScoreMode ;
1416import org .elasticsearch .TransportVersion ;
@@ -446,8 +448,8 @@ public void testSearchIdle() throws Exception {
446448 );
447449 }
448450
451+ @ Repeat (iterations = 100 )
449452 public void testCircuitBreakerReduceFail () throws Exception {
450- updateClusterSettings (Settings .builder ().put (SearchService .BATCHED_QUERY_PHASE .getKey (), false ));
451453 int numShards = randomIntBetween (1 , 10 );
452454 indexSomeDocs ("test" , numShards , numShards * 3 );
453455
@@ -521,9 +523,7 @@ public void onFailure(Exception exc) {
521523 }
522524 assertBusy (() -> assertThat (requestBreakerUsed (), equalTo (0L )));
523525 } finally {
524- updateClusterSettings (
525- Settings .builder ().putNull ("indices.breaker.request.limit" ).putNull (SearchService .BATCHED_QUERY_PHASE .getKey ())
526- );
526+ updateClusterSettings (Settings .builder ().putNull ("indices.breaker.request.limit" ));
527527 }
528528 }
529529
You can’t perform that action at this time.
0 commit comments