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