switch beaker tests to use Keystone V3

Change-Id: I43a858d8cc389b23ae970738437a5e61dcfe87c4
Closes-Bug: #1723838
This commit is contained in:
ZhongShengping 2017-10-19 09:08:44 +08:00 committed by zhongshengping
parent 2ae39c293c
commit 7ca105a684

View File

@ -51,7 +51,7 @@ describe 'glance class' do
describe 'glance images' do
it 'should create a glance image with proper attributes' do
glance_env_opts = '--os-username glance --os-password a_big_secret --os-tenant-name services --os-auth-url http://127.0.0.1:5000/v2.0'
glance_env_opts = '--os-identity-api-version 3 --os-username glance --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'
shell("openstack #{glance_env_opts} image list") do |r|
expect(r.stdout).to match(/test_image/)
end