only verify both nodes join the cluster

This commit is contained in:
Simon Willnauer 2015-08-20 21:51:13 +02:00
parent e2ab62596f
commit 3eee8b387e
1 changed files with 2 additions and 10 deletions

View File

@ -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