Merge "Stop testing image creation by openstack CLI"

This commit is contained in:
Zuul 2022-09-07 18:11:28 +00:00 committed by Gerrit Code Review
commit 1def180655
1 changed files with 0 additions and 17 deletions

View File

@ -33,22 +33,5 @@ describe 'glance class' do
describe port(9292) do
it { is_expected.to be_listening }
end
describe 'glance images' do
it 'should create a glance image with proper attributes' do
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'
command("openstack #{glance_env_opts} image list") do |r|
expect(r.stdout).to match(/test_image/)
end
command("openstack #{glance_env_opts} image show test_image --format shell") do |r|
expect(r.stdout).to match(/visibility="public"/)
expect(r.stdout).to match(/container_format="bare"/)
expect(r.stdout).to match(/disk_format="qcow2"/)
expect(r.stdout).to match(/properties=.*icanhaz.*cheezburger/)
expect(r.stdout).to match(/min_ram="64"/)
expect(r.stdout).to match(/min_disk="1024"/)
end
end
end
end
end