Skip to content

Commit

Permalink
Remove testcase testSearchWithBasicLicensedQuery since basic license …
Browse files Browse the repository at this point in the history
…is no longer applicable (#74)
  • Loading branch information
harold-wang authored Feb 9, 2021
1 parent a40924f commit 5172928
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1380,17 +1380,6 @@ public void testCountAllIndicesMatchQuery() throws IOException {
assertEquals(3, countResponse.getCount());
}

@AwaitsFix(bugUrl = "https://github.com/opendistro-for-elasticsearch/search/issues/61")
public void testSearchWithBasicLicensedQuery() throws IOException {
SearchRequest searchRequest = new SearchRequest("index");
SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
searchRequest.source(searchSourceBuilder);
SearchResponse searchResponse = execute(searchRequest, highLevelClient()::search, highLevelClient()::searchAsync);
assertSearchHeader(searchResponse);
assertFirstHit(searchResponse, hasId("2"));
assertSecondHit(searchResponse, hasId("1"));
}

private static void assertCountHeader(CountResponse countResponse) {
assertEquals(0, countResponse.getSkippedShards());
assertEquals(0, countResponse.getFailedShards());
Expand Down

0 comments on commit 5172928

Please sign in to comment.