X-pack plugin has been renamed to x-pack-core
This commit is contained in:
parent
fe0fc4b430
commit
d9d54917bd
1 changed files with 12 additions and 2 deletions
|
|
@ -120,8 +120,18 @@ shared_examples 'xpack_standard::init' do |vars|
|
||||||
it { should be_owned_by 'elasticsearch' }
|
it { should be_owned_by 'elasticsearch' }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('curl -s localhost:9200/_nodes/plugins | grep \'"name":"x-pack","version":"'+vars['es_version']+'"\'') do
|
describe 'x-pack-core plugin' do
|
||||||
its(:exit_status) { should eq 0 }
|
it 'should be installed with the correct version' do
|
||||||
|
plugins = curl_json('http://localhost:9200/_nodes/plugins')
|
||||||
|
node, data = plugins['nodes'].first
|
||||||
|
version = 'plugin not found'
|
||||||
|
data['plugins'].each do |plugin|
|
||||||
|
if plugin['name'] == 'x-pack-core'
|
||||||
|
version = plugin['version']
|
||||||
|
end
|
||||||
|
end
|
||||||
|
expect(version).to eql(vars['es_version'])
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#Test users file, users_roles and roles.yml
|
#Test users file, users_roles and roles.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue