Fix a bug in the BWC tests where we added a field alias in unsupported versions.

This commit is contained in:
Julie Tibshirani 2018-08-08 14:22:03 -07:00
parent 7af28c48c3
commit 99c3d8ab26
1 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,6 @@ setup:
test:
properties:
numeric_group: { type: integer }
group_alias: { type: alias, path: numeric_group }
- do:
index:
@ -354,6 +353,14 @@ setup:
- skip:
version: " - 6.3.99"
reason: Field aliases were introduced in 6.4.0.
- do:
indices.put_mapping:
index: test
type: test
body:
test:
properties:
group_alias: { type: alias, path: numeric_group }
- do:
search:
index: test