Skip to content

Commit 1f88b93

Browse files
authored
Muting failing tests awaiting the fix (#36710)
only muting two failing test cases in a subclass where they fail. issue referencing the problem: #36598
1 parent 789cc8c commit 1f88b93

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

server/src/test/java/org/elasticsearch/index/query/MultiMatchQueryBuilderTests.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,4 +492,15 @@ private static IndexMetaData newIndexMeta(String name, Settings oldIndexSettings
492492
.build();
493493
return IndexMetaData.builder(name).settings(build).build();
494494
}
495+
496+
497+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36598")
498+
@Override
499+
public void testMustRewrite() throws IOException {
500+
}
501+
502+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36598")
503+
@Override
504+
public void testToQuery() throws IOException {
505+
}
495506
}

test/framework/src/main/java/org/elasticsearch/test/AbstractQueryTestCase.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ protected boolean builderGeneratesCacheableQueries() {
413413
* Test creates the {@link Query} from the {@link QueryBuilder} under test and delegates the
414414
* assertions being made on the result to the implementing subclass.
415415
*/
416-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36598")
417416
public void testToQuery() throws IOException {
418417
for (int runs = 0; runs < NUMBER_OF_TESTQUERIES; runs++) {
419418
QueryShardContext context = createShardContext();
@@ -798,7 +797,6 @@ private static String msg(String left, String right) {
798797
* This test ensures that queries that need to be rewritten have dedicated tests.
799798
* These queries must override this method accordingly.
800799
*/
801-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36598")
802800
public void testMustRewrite() throws IOException {
803801
QueryShardContext context = createShardContext();
804802
context.setAllowUnmappedFields(true);

0 commit comments

Comments
 (0)