Test: cluster.health rest test should use 0 replicas

Some client test harnesses do not limit the number of replicas based on the number of nodes.
This commit is contained in:
Boaz Leskes 2015-02-25 20:34:43 +01:00
parent 2e9ea4abaf
commit cc2b00c443
1 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,11 @@
- do:
indices.create:
index: test_index
body:
settings:
index:
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: green
@ -41,7 +46,7 @@
index: test_index
- do:
cluster.health:
wait_for_status: green
wait_for_status: yellow
level: indices
- is_true: indices