only verify both nodes join the cluster
This commit is contained in:
parent
e2ab62596f
commit
3eee8b387e
|
@ -2,18 +2,10 @@
|
||||||
# If the local machine which is running the test is low on disk space
|
# If the local machine which is running the test is low on disk space
|
||||||
# We can have one unassigned shard
|
# We can have one unassigned shard
|
||||||
---
|
---
|
||||||
"cluster health basic test, one index":
|
"cluster health basic test, wait for both nodes to join":
|
||||||
- do:
|
|
||||||
indices.create:
|
|
||||||
index: test_index
|
|
||||||
body:
|
|
||||||
settings:
|
|
||||||
index:
|
|
||||||
number_of_replicas: 1
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: yellow
|
wait_for_nodes: 2
|
||||||
|
|
||||||
- is_true: cluster_name
|
- is_true: cluster_name
|
||||||
- is_false: timed_out
|
- is_false: timed_out
|
||||||
|
|
Loading…
Reference in New Issue