diff --git a/test/integration/config.yml b/test/integration/config.yml index 881d442..e8b623d 100644 --- a/test/integration/config.yml +++ b/test/integration/config.yml @@ -28,6 +28,7 @@ #add a custom log4j file es_config_log4j2: "./files/logging/log4j2.properties.custom.j2" es_api_port: 9401 + es_max_threads: 3000 es_plugins: - plugin: ingest-attachment - plugin: ingest-user-agent \ No newline at end of file diff --git a/test/integration/helpers/serverspec/config_spec.rb b/test/integration/helpers/serverspec/config_spec.rb index bab4500..9631a4c 100644 --- a/test/integration/helpers/serverspec/config_spec.rb +++ b/test/integration/helpers/serverspec/config_spec.rb @@ -139,6 +139,7 @@ shared_examples 'config::init' do |es_version,plugins| describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do it { should be_file } it { should contain 'LimitMEMLOCK=infinity' } + it { should contain 'LimitNPROC=3000' } end else describe file('/etc/init.d/node1_elasticsearch') do