Skip to content
Snippets Groups Projects
Commit 329bcf88 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

conftest: Disable unused Elasticsearch features to speed up startup

parent 5e77f2aa
No related branches found
Tags v0.22.0
1 merge request!160Migrate tests to ElasticSearch 8
Pipeline #11067 passed
......@@ -28,15 +28,19 @@ def free_port():
CONFIG_TEMPLATES = {
"elasticsearch.yml": """\
action.auto_create_index: false
action.destructive_requires_name: false
cluster.routing.allocation.disk.threshold_enabled: false
discovery.type: single-node
http.port: {http_port}
network.host: 127.0.0.1
node.name: node-1
path.data: {data}
path.logs: {logs}
network.host: 127.0.0.1
http.port: {http_port}
stack.templates.enabled: false
transport.port: {transport_port}
xpack.ml.enabled: false
xpack.security.enabled: false
discovery.type: single-node
cluster.routing.allocation.disk.threshold_enabled: false
""",
"jvm.options": """\
-XX:+UseG1GC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment