OpenSearch/qa/smoke-test-multinode/rest-api-spec/test/smoke_test_multinode/10_basic.yaml

22 lines
555 B
YAML

# Integration tests for smoke testing multi-node IT
# 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
- do:
cluster.health:
wait_for_status: yellow
- is_true: cluster_name
- is_false: timed_out
- gte: { number_of_nodes: 2 }
- gte: { number_of_data_nodes: 2 }