Skip to content

Commit

Permalink
Fix test failures with the new constant_keyword field. (#53153)
Browse files Browse the repository at this point in the history
This test failed because YAML tests randomly install an index template
that updates the default number of shards to 2.

Closes #53131
  • Loading branch information
jpountz committed Mar 5, 2020
1 parent 487d442 commit 360ac19
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ setup:
indices.create:
index: test1
body:
settings:
number_of_shards: 1
mappings:
properties:
foo:
Expand All @@ -18,6 +20,8 @@ setup:
indices.create:
index: test2
body:
settings:
number_of_shards: 1
mappings:
properties:
foo:
Expand Down

0 comments on commit 360ac19

Please sign in to comment.