Simple test for LimitNPROC
This commit is contained in:
parent
23abae8c67
commit
ed8ab11227
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue