Skip to content

Commit

Permalink
Increase script.max_compilations_rate to get tests passing (#9613)
Browse files Browse the repository at this point in the history
This is a temporary fix for #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.
  • Loading branch information
ruflin authored Dec 18, 2018
1 parent 6c88537 commit 30827ad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions filebeat/tests/system/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 30827ad

Please sign in to comment.