Remove testcase testSearchWithBasicLicensedQuery since basic license is no longer applicable (#74)
Signed-off-by: Peter Nied <petern@amazon.com>
This commit is contained in:
parent
755367f1c9
commit
9b3ce0cd45
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue