Skip to content

Commit aac8670

Browse files
author
Christoph Büscher
committed
[Tests] Increase SimpleQueryStringIT allowed maxClauseCount
For this test, we randomize the CLUSTER_MAX_CLAUSE_COUNT on test setup (@BeforeClass) between 50 and 100. Some queries in the test generate 56 clauses which hasn't been an issue before LUCENE-8811, but we slightly need to increase the minimal possible clause count now. Closes elastic#44192
1 parent 58636fe commit aac8670

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/src/test/java/org/elasticsearch/search/query/SimpleQueryStringIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class SimpleQueryStringIT extends ESIntegTestCase {
8383

8484
@BeforeClass
8585
public static void createRandomClusterSetting() {
86-
CLUSTER_MAX_CLAUSE_COUNT = randomIntBetween(50, 100);
86+
CLUSTER_MAX_CLAUSE_COUNT = randomIntBetween(60, 100);
8787
}
8888

8989
@Override
@@ -493,7 +493,6 @@ public void testWithLotsOfTypes() throws Exception {
493493
assertHitCount(resp, 2L);
494494
}
495495

496-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44192")
497496
public void testDocWithAllTypes() throws Exception {
498497
String indexBody = copyToStringFromClasspath("/org/elasticsearch/search/query/all-query-index.json");
499498
prepareCreate("test").setSource(indexBody, XContentType.JSON).get();

0 commit comments

Comments
 (0)