Switch beaker tests to use Keystone V3
Change-Id: I4737d37b74d54c56daf385f724d8322025a7b35b Closes-Bug: #1723352
This commit is contained in:
parent
9b1287a9ee
commit
04a901771c
@ -75,7 +75,7 @@ describe 'barbican::api basic test class' do
|
||||
if os[:family].casecmp('RedHat') == 0
|
||||
describe 'store a secret' do
|
||||
it 'should store a secret' do
|
||||
shell('barbican --os-username barbican --os-password a_big_secret --os-tenant-name services --os-auth-url http://127.0.0.1:5000/v2.0 --endpoint http://localhost:9311 secret store --payload "my big bad secret" --os-identity-api-version 2') do |r|
|
||||
shell('barbican --os-username barbican --os-password a_big_secret --os-project-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 --endpoint http://localhost:9311 secret store --payload "my big bad secret" --os-identity-api-version 3') do |r|
|
||||
expect(r.stdout).to match(/ACTIVE/)
|
||||
end
|
||||
end
|
||||
@ -83,7 +83,7 @@ describe 'barbican::api basic test class' do
|
||||
|
||||
describe 'generate a secret' do
|
||||
it 'should generate a secret' do
|
||||
shell('barbican --os-username barbican --os-password a_big_secret --os-tenant-name services --os-auth-url http://127.0.0.1:5000/v2.0 --endpoint http://localhost:9311 secret order create key --name foo --os-identity-api-version 2') do |r|
|
||||
shell('barbican --os-username barbican --os-password a_big_secret --os-project-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 --endpoint http://localhost:9311 secret order create key --name foo --os-identity-api-version 3') do |r|
|
||||
expect(r.stdout).to match(/Order href/)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user