2015-05-28 15:19:13 -04:00
|
|
|
---
|
|
|
|
"Basic test for upgrade indices":
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.create:
|
|
|
|
index: test_index
|
2015-05-28 18:08:28 -04:00
|
|
|
body:
|
|
|
|
settings:
|
|
|
|
index:
|
|
|
|
number_of_replicas: 0
|
|
|
|
|
2015-05-28 15:19:13 -04:00
|
|
|
|
|
|
|
- do:
|
|
|
|
cluster.health:
|
2015-05-28 18:08:28 -04:00
|
|
|
wait_for_status: green
|
2015-05-28 15:19:13 -04:00
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.upgrade:
|
|
|
|
index: test_index
|
|
|
|
|
|
|
|
- match: {upgraded_indices.test_index: '/(\d\.)+\d/'}
|