mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-19 01:54:20 +01:00
Support for mlock with tests
This commit is contained in:
@@ -67,6 +67,11 @@ context "basic tests" do
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
||||
#test to make sure mlock was applied
|
||||
describe command('curl "localhost:9201/_nodes/process?pretty" | grep mlockall') do
|
||||
its(:stdout) { should match /\"mlockall\" : true/ }
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user