Tests: Fix failing test
Caused by removing search QUERY_AND_FETCH Original commit: elastic/x-pack-elasticsearch@18070b40bb
This commit is contained in:
parent
14e97565fa
commit
752356916d
|
@ -84,8 +84,8 @@ public class HistoryTemplateSearchInputMappingsTests extends AbstractWatcherInte
|
|||
Terms terms = aggs.get("input_search_type");
|
||||
assertThat(terms, notNullValue());
|
||||
assertThat(terms.getBuckets().size(), is(1));
|
||||
assertThat(terms.getBucketByKey("query_and_fetch"), notNullValue());
|
||||
assertThat(terms.getBucketByKey("query_and_fetch").getDocCount(), is(1L));
|
||||
assertThat(terms.getBucketByKey("query_then_fetch"), notNullValue());
|
||||
assertThat(terms.getBucketByKey("query_then_fetch").getDocCount(), is(1L));
|
||||
|
||||
terms = aggs.get("input_indices");
|
||||
assertThat(terms, notNullValue());
|
||||
|
|
Loading…
Reference in New Issue