Remove testcase testSearchWithBasicLicensedQuery since basic license is no longer applicable (#74)

Signed-off-by: Peter Nied <petern@amazon.com>
This commit is contained in:
Harold Wang 2021-02-09 14:33:22 -08:00 committed by Peter Nied
parent 755367f1c9
commit 9b3ce0cd45
1 changed files with 0 additions and 11 deletions

View File

@ -1380,17 +1380,6 @@ public class SearchIT extends ESRestHighLevelClientTestCase {
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());