From c695f35bcabc57223ef8480aa2d1b24f14310f33 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Thu, 28 May 2015 12:08:28 -1000 Subject: [PATCH] Tests: make REST upgrade test more reliable Make sure that all shards are started to avoid flush conflicts. --- rest-api-spec/test/indices.upgrade/10_basic.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/test/indices.upgrade/10_basic.yaml b/rest-api-spec/test/indices.upgrade/10_basic.yaml index f4844839c41..d6a38b4c168 100644 --- a/rest-api-spec/test/indices.upgrade/10_basic.yaml +++ b/rest-api-spec/test/indices.upgrade/10_basic.yaml @@ -4,10 +4,15 @@ - do: indices.create: index: test_index + body: + settings: + index: + number_of_replicas: 0 + - do: cluster.health: - wait_for_status: yellow + wait_for_status: green - do: indices.upgrade: