Skip to content

Commit 6afe28a

Browse files
committed
Add assertion that num_reduce_phases >= 1
1 parent 4f2abf8 commit 6afe28a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search/120_batch_reduce_size.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ setup:
4848
batched_reduce_size: 2
4949
body: { "size" : 0, "aggs" : { "str_terms" : { "terms" : { "field" : "str" } } } }
5050

51+
- gte: { num_reduce_phases: 1 }
5152
- match: { hits.total: 3 }
5253
- length: { aggregations.str_terms.buckets: 2 }
5354
- match: { aggregations.str_terms.buckets.0.key: "abc" }

0 commit comments

Comments
 (0)