[meta] refactor kitchen tests (#765)

* [meta] refactor kitchen tests

This commit update kitchen tests to match important feature to test:
- default: test a deployment with all default values
- license: test a deployment with a license and default values
- trial: test a deployment with security enabled and trial license
- oss: test a deployment with oss version and default values (6.x only)
- upgrade: test an upgrade from a previous version
- oss-upgrade: test an upgrade with oss version (6.x only)
- oss-to-default-upgrade: test an upgrade from previous oss to latest
default version
- custom_config: test a deployment with custom config files
- security: test a deployment with security enabled

* [meta] fix license test
This commit is contained in:
Julien Mailleret 2021-02-04 11:19:00 +01:00 committed by GitHub
parent 78e805e6cb
commit d3e394b071
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 272 additions and 406 deletions

View file

@ -1,5 +1,5 @@
---
- name: Standard test for single node setup. Tests idempotence.
- name: Setup Elasticsearch OSS 6.x
hosts: localhost
post_tasks:
- include: elasticsearch/test/integration/debug.yml
@ -7,11 +7,5 @@
- elasticsearch
vars:
oss_version: true
es_heap_size: "1g"
es_plugins:
- plugin: ingest-attachment
es_config_default: "test/integration/files/custom_config/elasticsearch"
es_config_log4j2: "test/integration/files/custom_config/log4j2.properties"
es_config_jvm: "test/integration/files/custom_config/jvm.options"
#Do not add tests here. This test is run twice and confirms idempotency.