From 7d22d8e1556634fb705229fa4d1cfe9c951ae90e Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Fri, 27 Apr 2018 15:01:42 -0400 Subject: [PATCH] Test: Switch painless test to 1 shard We *think* that #28600 is caused by warnings not being collected during one of the fan out phases of search but we're not 100% sure how this is happening. This commit drops the number of shards used for the test to 1 so there *isn't* a fan out phase. If this makes the issue go away we'll have more information. --- .../rest-api-spec/test/painless/50_script_doc_values.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/lang-painless/src/test/resources/rest-api-spec/test/painless/50_script_doc_values.yml b/modules/lang-painless/src/test/resources/rest-api-spec/test/painless/50_script_doc_values.yml index ce8c03afec607..ede2927b992e0 100644 --- a/modules/lang-painless/src/test/resources/rest-api-spec/test/painless/50_script_doc_values.yml +++ b/modules/lang-painless/src/test/resources/rest-api-spec/test/painless/50_script_doc_values.yml @@ -3,6 +3,8 @@ setup: indices.create: index: test body: + settings: + number_of_shards: 1 mappings: test: properties: