Muting failing tests awaiting the fix
issue referencing the problem:
@@ -413,6 +413,7 @@ public abstract class AbstractQueryTestCase<QB extends AbstractQueryBuilder<QB>>
* Test creates the {@link Query} from the {@link QueryBuilder} under test and delegates the
* assertions being made on the result to the implementing subclass.
*/
+ @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36598")
public void testToQuery() throws IOException {
for (int runs = 0; runs < NUMBER_OF_TESTQUERIES; runs++) {
QueryShardContext context = createShardContext();
@@ -797,6 +798,7 @@ public abstract class AbstractQueryTestCase<QB extends AbstractQueryBuilder<QB>>
* This test ensures that queries that need to be rewritten have dedicated tests.
* These queries must override this method accordingly.
*/
+ @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/36598")
public void testMustRewrite() throws IOException {
QueryShardContext context = createShardContext();
context.setAllowUnmappedFields(true);
