Skip to content

Commit

Permalink
Mute MultiMatchQueryBuilder#testToQuery (#41848)
Browse files Browse the repository at this point in the history
Relates #41847
  • Loading branch information
danielmitterdorfer authored May 6, 2019
1 parent f5c8848 commit b8134d0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@ protected void doAssertLuceneQuery(MultiMatchQueryBuilder queryBuilder, Query qu
.or(instanceOf(BlendedTermQuery.class)));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/41847")
// TODO #41847: This method is only overridden to allow muting this test. Please remove this override again after fixing it.
@Override
public void testToQuery() throws IOException {
super.testToQuery();
}


public void testIllegaArguments() {
expectThrows(IllegalArgumentException.class, () -> new MultiMatchQueryBuilder(null, "field"));
expectThrows(IllegalArgumentException.class, () -> new MultiMatchQueryBuilder("value", (String[]) null));
Expand Down

0 comments on commit b8134d0

Please sign in to comment.