test: reduce replicas for indices synced flush test

We have to make sure all shards are started to know the synced flush will hit them all. Shards that are still initializing during the sync flush may be missed and confuse the stats call
This commit is contained in:
Boaz Leskes 2015-06-06 21:10:25 +02:00
parent 78630e03a2
commit e359698605
1 changed files with 5 additions and 1 deletions

View File

@ -3,10 +3,14 @@
- do:
indices.create:
index: testing
body:
settings:
index:
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow
wait_for_status: green
- do:
indices.flush_synced:
index: testing