Support for mlock with tests
This commit is contained in:
parent
f2621c4af9
commit
dc9b2dd53c
6 changed files with 34 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue