Fix test failures with the new `constant_keyword` field. (#53153)

This test failed because YAML tests randomly install an index template
that updates the default number of shards to 2.

Closes #53131
This commit is contained in:
Adrien Grand 2020-03-05 14:28:44 +01:00
parent 487d442760
commit 360ac1997f
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ setup:
indices.create:
index: test1
body:
settings:
number_of_shards: 1
mappings:
properties:
foo:
@ -18,6 +20,8 @@ setup:
indices.create:
index: test2
body:
settings:
number_of_shards: 1
mappings:
properties:
foo: