Skip to content

Commit 360ac19

Browse files
committed
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
1 parent 487d442 commit 360ac19

File tree

1 file changed

+4
-0
lines changed
  • x-pack/plugin/src/test/resources/rest-api-spec/test/constant_keyword

1 file changed

+4
-0
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/test/constant_keyword/10_basic.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ setup:
88
indices.create:
99
index: test1
1010
body:
11+
settings:
12+
number_of_shards: 1
1113
mappings:
1214
properties:
1315
foo:
@@ -18,6 +20,8 @@ setup:
1820
indices.create:
1921
index: test2
2022
body:
23+
settings:
24+
number_of_shards: 1
2125
mappings:
2226
properties:
2327
foo:

0 commit comments

Comments
 (0)