File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
server/src/test/java/org/opensearch/search Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1498,11 +1498,12 @@ public void testConcurrentSegmentSearchWithRandomizedModeSettings() throws IOExc
14981498 String clusterMode = randomFrom (modeSettings );
14991499 String indexMode = randomFrom (modeSettings );
15001500
1501- // default to false in case mode setting is not set
1502- boolean concurrentSearchEnabled = false ;
1503-
15041501 boolean aggregationSupportsConcurrent = randomBoolean ();
15051502
1503+ // Default to auto in case mode setting is not set, we use true to represent,
1504+ // It is also decided by aggregationSupportsConcurrent.
1505+ boolean concurrentSearchEnabled = true && aggregationSupportsConcurrent ;
1506+
15061507 if (indexMode != null ) {
15071508 concurrentSearchEnabled = !indexMode .equals ("none" ) && aggregationSupportsConcurrent ;
15081509 } else if (clusterMode != null ) {
You can’t perform that action at this time.
0 commit comments