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:
parent
2e9ea4abaf
commit
cc2b00c443
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue