Skip to content

Commit

Permalink
Remove script.cache.max_size / script.max_compilations_rate from File…
Browse files Browse the repository at this point in the history
…beat tests (#19896)

These setting has been removed as per elastic/elasticsearch#59262 causing the ES container to not launch.

    elasticsearch_1  | java.lang.IllegalArgumentException: unknown setting [script.cache.max_size] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
  • Loading branch information
andrewkroh authored Jul 14, 2020
1 parent 91aca53 commit 64cb5aa
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions filebeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ services:
extends:
file: ${ES_BEATS}/testing/environments/${TESTING_ENVIRONMENT}.yml
service: elasticsearch
environment:
script.cache.max_size: "500"

kafka:
build: ${ES_BEATS}/testing/environments/docker/kafka
Expand Down
8 changes: 0 additions & 8 deletions filebeat/tests/system/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ def init(self):

self.index_name = "test-filebeat-modules"

body = {
"transient": {
"script.max_compilations_rate": "2000/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
8 changes: 0 additions & 8 deletions filebeat/tests/system/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ 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
2 changes: 0 additions & 2 deletions x-pack/filebeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,4 @@ services:
extends:
file: ${ES_BEATS}/testing/environments/${STACK_ENVIRONMENT}.yml
service: elasticsearch
environment:
script.cache.max_size: "500"

0 comments on commit 64cb5aa

Please sign in to comment.