Fixes for mlock all test
This commit is contained in:
parent
af30f882dd
commit
01992fdb77
2 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ shared_examples 'config::init' do |es_version,plugins|
|
|||
it { should contain 'node.master: true' }
|
||||
it { should contain 'cluster.name: custom-cluster' }
|
||||
it { should contain 'node.name: node1' }
|
||||
it { should contain 'bootstrap.memory_lock: false' }
|
||||
it { should contain 'bootstrap.memory_lock: true' }
|
||||
it { should contain 'discovery.zen.ping.unicast.hosts: localhost:9501' }
|
||||
it { should contain 'path.conf: /etc/elasticsearch/node1' }
|
||||
it { should contain 'path.data: /opt/elasticsearch/data-1/localhost-node1,/opt/elasticsearch/data-2/localhost-node1' }
|
||||
|
|
@ -71,7 +71,7 @@ shared_examples 'config::init' do |es_version,plugins|
|
|||
|
||||
#test to make sure mlock was applied
|
||||
describe command('curl -s "localhost:9401/_nodes/process?pretty" | grep mlockall') do
|
||||
its(:stdout) { should match /false/ }
|
||||
its(:stdout) { should match /true/ }
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue