From dda18fa004b310b6f594af44951b3c9beb520668 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Thu, 5 Mar 2020 14:28:44 +0100 Subject: [PATCH] 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 --- .../test/constant_keyword/10_basic.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/constant_keyword/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/constant_keyword/10_basic.yml index 2d71b044e1c5b..ad2e2677bf610 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/constant_keyword/10_basic.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/constant_keyword/10_basic.yml @@ -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: @@ -62,9 +66,6 @@ setup: --- "Term query": - - skip: - version: "all" - reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131" - do: search: @@ -94,9 +95,6 @@ setup: --- "Terms query": - - skip: - version: "all" - reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131" - do: search: @@ -113,9 +111,6 @@ setup: --- "Prefix query": - - skip: - version: "all" - reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131" - do: search: @@ -143,9 +138,6 @@ setup: --- "Wildcard query": - - skip: - version: "all" - reason: "Awaits fix: https://github.com/elastic/elasticsearch/issues/53131" - do: search: