Remove invalid tests for roles.yml, system_key, user_roles and users

All of these were not actually defined in the final play of the testing
role however were leftover by the previous run or default install. The
changes in 6.3 moved the locations of these files to a different
directory causing these tests to fail (as they should be doing!)
This commit is contained in:
Michael Russell 2018-06-14 20:01:07 +02:00
parent 3ab3b1d05c
commit ea6f1c2088
No known key found for this signature in database
GPG key ID: A90C1696496085FE
2 changed files with 0 additions and 29 deletions

View file

@ -126,15 +126,6 @@ shared_examples 'xpack_standard::init' do |vars|
end
#Test users file, users_roles and roles.yml
describe file('/etc/elasticsearch/security_node' + vars['es_xpack_conf_subdir'] + '/users_roles') do
it { should be_owned_by 'elasticsearch' }
end
describe file('/etc/elasticsearch/security_node' + vars['es_xpack_conf_subdir'] + '/users') do
it { should be_owned_by 'elasticsearch' }
end
describe command('curl -s localhost:9200/_nodes/plugins?pretty=true -u es_admin:changeMeAgain | grep x-pack') do
its(:exit_status) { should eq 0 }
end