Tests: make REST upgrade test more reliable

Make sure that all shards are started to avoid flush conflicts.
This commit is contained in:
Igor Motov 2015-05-28 12:08:28 -10:00
parent 503f844a05
commit c695f35bca
1 changed files with 6 additions and 1 deletions

View File

@ -4,10 +4,15 @@
- do: - do:
indices.create: indices.create:
index: test_index index: test_index
body:
settings:
index:
number_of_replicas: 0
- do: - do:
cluster.health: cluster.health:
wait_for_status: yellow wait_for_status: green
- do: - do:
indices.upgrade: indices.upgrade: