Update tests to work with dynamic es_versions
This commit is contained in:
parent
92244a7a71
commit
94b059080b
23 changed files with 127 additions and 65 deletions
|
|
@ -2,6 +2,8 @@
|
|||
#Test explicit setting of parameters and variables
|
||||
- name: Elasticsearch Config initial
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- include: elasticsearch/test/integration/debug.yml
|
||||
roles:
|
||||
#expand to all available parameters
|
||||
- { role: elasticsearch, es_instance_name: "node1", es_data_dirs: ["/opt/elasticsearch/data-1","/opt/elasticsearch/data-2"], es_log_dir: "/opt/elasticsearch/logs", es_user_id: 333, es_group_id: 333, es_config: {node.name: "node1", cluster.name: "custom-cluster", discovery.zen.ping.unicast.hosts: "localhost:9301", http.port: 9201, transport.tcp.port: 9301, node.data: false, node.master: true, bootstrap.memory_lock: false } }
|
||||
|
|
@ -17,6 +19,8 @@
|
|||
#Modify the above configuration. Final test should evaluate this configuration. Also tests the plugins are added and removed.
|
||||
- name: Elasticsearch Config test modify
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- include: elasticsearch/test/integration/debug.yml
|
||||
roles:
|
||||
#expand to all available parameters
|
||||
- { role: elasticsearch, es_instance_name: "node1", es_data_dirs: ["/opt/elasticsearch/data-1","/opt/elasticsearch/data-2"], es_log_dir: "/opt/elasticsearch/logs", es_user_id: 333, es_group_id: 333, es_config: {node.name: "node1", cluster.name: "custom-cluster", discovery.zen.ping.unicast.hosts: "localhost:9501", http.port: 9401, transport.tcp.port: 9501, node.data: true, node.master: true, bootstrap.memory_lock: true } }
|
||||
|
|
@ -31,4 +35,4 @@
|
|||
es_max_threads: 3000
|
||||
es_plugins:
|
||||
- plugin: ingest-attachment
|
||||
- plugin: ingest-user-agent
|
||||
- plugin: ingest-user-agent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue