27 lines
727 B
YAML
27 lines
727 B
YAML
# Integration tests for smoke testing multi-node IT
|
|
#
|
|
---
|
|
"cluster health basic test, one index":
|
|
- do:
|
|
indices.create:
|
|
index: test_index
|
|
body:
|
|
settings:
|
|
index:
|
|
number_of_replicas: 1
|
|
|
|
- do:
|
|
cluster.health:
|
|
wait_for_status: green
|
|
|
|
- is_true: cluster_name
|
|
- is_false: timed_out
|
|
- gte: { number_of_nodes: 2 }
|
|
- gte: { number_of_data_nodes: 2 }
|
|
- gt: { active_primary_shards: 0 }
|
|
- gt: { active_shards: 0 }
|
|
- gte: { relocating_shards: 0 }
|
|
- match: { initializing_shards: 0 }
|
|
- match: { unassigned_shards: 0 }
|
|
- gte: { number_of_pending_tasks: 0 }
|