Skip to content

Commit

Permalink
Increase script compilations rate for Filebeat system tests (#10388)
Browse files Browse the repository at this point in the history
Partial backport of ##9777.

This PR ncreases the dynamic script compilations for Filebeat system tests to `1000/1m`.
  • Loading branch information
ycombinator authored Jan 29, 2019
1 parent 27068ed commit 58c0488
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions filebeat/tests/system/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ def init(self):

self.index_name = "test-filebeat-modules"

body = {
"transient": {
"script.max_compilations_rate": "1000/1m"
}
}

self.es.transport.perform_request('PUT', "/_cluster/settings", body=body)

@parameterized.expand(load_fileset_test_cases)
@unittest.skipIf(not INTEGRATION_TESTS,
"integration tests are disabled, run with INTEGRATION_TESTS=1 to enable them.")
Expand Down

0 comments on commit 58c0488

Please sign in to comment.