From 37e938f9dee50e7e2e30aba9643721aa023748b0 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Mon, 12 Feb 2018 09:03:55 +0100 Subject: [PATCH] Fix indices.sort rest test Set the number of replicas to 0 in order to avoid race condition during the test Fixes #24416 --- .../main/resources/rest-api-spec/test/indices.sort/10_basic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.sort/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.sort/10_basic.yml index 6e8be800a1b..aec3c41672d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.sort/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.sort/10_basic.yml @@ -11,7 +11,7 @@ body: settings: number_of_shards: 1 - number_of_replicas: 1 + number_of_replicas: 0 index.sort.field: rank mappings: test: