Add test for upgrading from previous version of oss to current
This commit is contained in:
parent
4c35794b76
commit
2c8ce3bb2d
7 changed files with 68 additions and 6 deletions
21
test/integration/oss-upgrade.yml
Normal file
21
test/integration/oss-upgrade.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
- name: Standard test for single node setup. Tests idempotence.
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- include: elasticsearch/test/integration/debug.yml
|
||||
roles:
|
||||
- { role: elasticsearch, es_instance_name: "node1" }
|
||||
vars:
|
||||
es_version: "{{ '6.2.4' if es_major_version == '6.x' else '5.6.9' }}" # This is set to an older version than the current default to force an upgrade
|
||||
es_enable_xpack: false
|
||||
es_heap_size: "1g"
|
||||
|
||||
- name: Standard test for single node setup. Tests idempotence.
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- include: elasticsearch/test/integration/debug.yml
|
||||
roles:
|
||||
- { role: elasticsearch, es_instance_name: "node1" }
|
||||
vars:
|
||||
es_enable_xpack: false
|
||||
es_heap_size: "1g"
|
||||
Loading…
Add table
Add a link
Reference in a new issue