From 30827adbc60ee03207abb5ef2e6c5475535c5635 Mon Sep 17 00:00:00 2001 From: Nicolas Ruflin Date: Tue, 18 Dec 2018 13:03:27 +0100 Subject: [PATCH] Increase script.max_compilations_rate to get tests passing (#9613) This is a temporary fix for https://github.com/elastic/beats/issues/9587. The reason I did not skip the tests instead was that I would still like us to have tests for the pipelines running until we figured out which script is the culprit. --- filebeat/tests/system/test_pipeline.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/filebeat/tests/system/test_pipeline.py b/filebeat/tests/system/test_pipeline.py index d2f2e222899..8058306a95d 100644 --- a/filebeat/tests/system/test_pipeline.py +++ b/filebeat/tests/system/test_pipeline.py @@ -45,6 +45,14 @@ def test_input_pipeline_config(self): pass self.wait_until(lambda: not self.es.indices.exists(index_name)) + body = { + "transient": { + "script.max_compilations_rate": "100/1m" + } + } + + self.es.transport.perform_request('PUT', "/_cluster/settings", body=body) + self.render_config_template( path=os.path.abspath(self.working_dir) + "/log/*", elasticsearch=dict(