|
@@ -2,18 +2,10 @@
|
|
|
# If the local machine which is running the test is low on disk space
|
|
|
# We can have one unassigned shard
|
|
|
---
|
|
|
-"cluster health basic test, one index":
|
|
|
- - do:
|
|
|
- indices.create:
|
|
|
- index: test_index
|
|
|
- body:
|
|
|
- settings:
|
|
|
- index:
|
|
|
- number_of_replicas: 1
|
|
|
-
|
|
|
+"cluster health basic test, wait for both nodes to join":
|
|
|
- do:
|
|
|
cluster.health:
|
|
|
- wait_for_status: yellow
|
|
|
+ wait_for_nodes: 2
|
|
|
|
|
|
- is_true: cluster_name
|
|
|
- is_false: timed_out
|