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)

Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
harold-wang authored and peternied committed Mar 13, 2021
1 parent 755367f commit 9b3ce0c
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 9b3ce0c

Please sign in to comment.