Support for mlock with tests

This commit is contained in:
Dale McDiarmid 2015-11-26 14:19:25 +00:00
parent f2621c4af9
commit dc9b2dd53c
6 changed files with 34 additions and 10 deletions

View file

@ -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