Fix a bug in the BWC tests where we added a field alias in unsupported versions.
This commit is contained in:
parent
7af28c48c3
commit
99c3d8ab26
|
@ -7,7 +7,6 @@ setup:
|
||||||
test:
|
test:
|
||||||
properties:
|
properties:
|
||||||
numeric_group: { type: integer }
|
numeric_group: { type: integer }
|
||||||
group_alias: { type: alias, path: numeric_group }
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
|
@ -354,6 +353,14 @@ setup:
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.3.99"
|
version: " - 6.3.99"
|
||||||
reason: Field aliases were introduced in 6.4.0.
|
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:
|
- do:
|
||||||
search:
|
search:
|
||||||
index: test
|
index: test
|
||||||
|
|
Loading…
Reference in New Issue