Add authentication back to the plugins check for xpack (got lost during

copy paste refactoring)
This commit is contained in:
Michael Russell 2018-06-15 07:40:35 +02:00
parent ea6f1c2088
commit e9a267ec55
No known key found for this signature in database
GPG key ID: A90C1696496085FE

View file

@ -103,7 +103,7 @@ shared_examples 'xpack::init' do |vars|
describe 'xpack plugin' do
it 'should be installed with the correct version' do
plugins = curl_json('http://localhost:9200/_nodes/plugins')
plugins = curl_json('http://localhost:9200/_nodes/plugins', username='es_admin', password='changeMeAgain')
node, data = plugins['nodes'].first
version = 'plugin not found'
name = 'x-pack'