Test fix for serverspec
This commit is contained in:
parent
70283110d8
commit
2019d36e10
2 changed files with 0 additions and 3 deletions
|
|
@ -76,7 +76,6 @@ context "basic tests" do
|
|||
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should contain 'LimitMEMLOCK=infinity' }
|
||||
it { should contain 'EnvironmentFile=-/etc/sysconfig/node1_elasticsearch' }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -160,13 +160,11 @@ context "basic tests" do
|
|||
describe file('/usr/lib/systemd/system/master_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should contain 'LimitMEMLOCK=infinity' }
|
||||
it { should contain 'EnvironmentFile=-/etc/sysconfig/master_elasticsearch' }
|
||||
end
|
||||
|
||||
describe file('/usr/lib/systemd/system/node1_elasticsearch.service') do
|
||||
it { should be_file }
|
||||
it { should_not contain 'LimitMEMLOCK=infinity' }
|
||||
it { should contain 'EnvironmentFile=-/etc/sysconfig/node1_elasticsearch' }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue