OpenSearch/rest-api-spec/test/indices.upgrade/10_basic.yaml

22 lines
362 B
YAML
Raw Normal View History

---
"Basic test for upgrade indices":
- do:
indices.create:
index: test_index
body:
settings:
index:
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: green
- do:
indices.upgrade:
index: test_index
- match: {upgraded_indices.test_index: '/(\d\.)+\d/'}