[TEST] Fixed the "Msearch" typed keys YAML test

* Added the YAML document separator to the beginning of the file
* Fixed the incorrect JSON syntax in the query

Closes #23500
This commit is contained in:
Karel Minarik 2017-03-07 10:16:01 -08:00
parent f4a432e456
commit 4ea6fc0059
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
---
setup:
- skip:
version: " - 5.3.99"
@ -66,7 +67,7 @@ setup:
body:
# Testing aggegrations
- index: test-*
- {query: {match: {bool: true} }, size: 0, aggs: {test_filter: {filter: {range:{integer: {gte: 20} } } } } }
- {query: {match: {bool: true} }, size: 0, aggs: {test_filter: {filter: {range: {integer: {gte: 20} } } } } }
- index: test-1
- {query: {match_all: {} }, size: 0, aggs: {test_range: {range: {field: float, ranges: [ {to: 19.2499999}, {from: 19.25} ] } } } }
- index: test-*