Additional tests + support for empty es_config + documentation

This commit is contained in:
Dale McDiarmid 2015-11-26 17:26:28 +00:00
parent e98b74ab28
commit b2997cc0bc
9 changed files with 101 additions and 63 deletions

View file

@ -88,13 +88,13 @@ context "basic tests" do
end
#test to make sure mlock was applied
describe command('curl "localhost:9200/_nodes/process?pretty" | grep mlockall') do
describe command('curl "localhost:9200/_nodes/localhost-master/process?pretty" | grep mlockall') do
its(:stdout) { should match /\"mlockall\" : true/ }
its(:exit_status) { should eq 0 }
end
#test to make sure mlock was not applied
describe command('curl "localhost:9201/_nodes/process?pretty" | grep mlockall') do
describe command('curl "localhost:9201/_nodes/localhost-node1/process?pretty" | grep mlockall') do
its(:stdout) { should match /\"mlockall\" : false/ }
its(:exit_status) { should eq 0 }
end