[TEST] added wait for relocationg shards to cat.shards REST test

Adding the second index might cause relocation of existing shards depending on the number of nodes available, let's wait for relocation to be finished before going ahead and checking the cat shards outpu
This commit is contained in:
javanna 2014-06-03 10:48:11 +02:00 committed by Luca Cavanna
parent 90b1e6a461
commit 4a2410135f

View File

@ -35,6 +35,7 @@
- do:
cluster.health:
wait_for_status: yellow
wait_for_relocating_shards: 0
- do:
cat.shards: {}