Better checks for the cluster being up in the rolling upgrades tests.

This commit is contained in:
Ali Beyad 2016-09-15 15:08:11 -04:00
parent 3f79874042
commit ec7e383783
2 changed files with 3 additions and 5 deletions

View File

@ -4,11 +4,7 @@
cluster.health:
wait_for_status: green
- do:
indices.get_settings:
index: test_index
- match: { test_index.settings.index.number_of_replicas: "0" }
- match: { number_of_nodes: 2 }
- do:
search:

View File

@ -4,6 +4,8 @@
cluster.health:
wait_for_status: green
- match: { number_of_nodes: 2 }
- do:
search:
index: test_index