Multi tests plugin directories correct
This commit is contained in:
parent
d73e515de3
commit
4a86c9c482
1 changed files with 5 additions and 0 deletions
|
|
@ -182,6 +182,11 @@ shared_examples 'multi::init' do |es_version,plugins|
|
||||||
describe command('curl -s localhost:9201/_nodes/plugins?pretty=true | grep '+plugin) do
|
describe command('curl -s localhost:9201/_nodes/plugins?pretty=true | grep '+plugin) do
|
||||||
its(:exit_status) { should eq 0 }
|
its(:exit_status) { should eq 0 }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe file('/usr/share/elasticsearch/plugins/'+plugin) do
|
||||||
|
it { should be_directory }
|
||||||
|
it { should be_owned_by 'elasticsearch' }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe file('/etc/init.d/elasticsearch') do
|
describe file('/etc/init.d/elasticsearch') do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue