Revert "tests/acceptance: disable test on aggregates"
This reverts commit 8fd8d56c3b
.
Change-Id: I6f788d86578e3f753440220d491b3d4591ac363c
This commit is contained in:
@@ -15,6 +15,13 @@ describe 'basic nova' do
|
|||||||
include ::openstack_integration::placement
|
include ::openstack_integration::placement
|
||||||
include ::openstack_integration::nova
|
include ::openstack_integration::nova
|
||||||
|
|
||||||
|
nova_aggregate { 'test_aggregate':
|
||||||
|
ensure => present,
|
||||||
|
availability_zone => 'zone1',
|
||||||
|
metadata => 'test=property',
|
||||||
|
require => Class['nova::api'],
|
||||||
|
}
|
||||||
|
|
||||||
nova_flavor { 'test_flavor':
|
nova_flavor { 'test_flavor':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
name => 'test_flavor',
|
name => 'test_flavor',
|
||||||
@@ -54,6 +61,13 @@ describe 'basic nova' do
|
|||||||
it { is_expected.to have_entry('1 0 * * * nova-manage db archive_deleted_rows --max_rows 100 >>/var/log/nova/nova-rowsflush.log 2>&1').with_user('nova') }
|
it { is_expected.to have_entry('1 0 * * * nova-manage db archive_deleted_rows --max_rows 100 >>/var/log/nova/nova-rowsflush.log 2>&1').with_user('nova') }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe 'nova aggregate' do
|
||||||
|
it 'should create new aggregate' do
|
||||||
|
shell('openstack --os-identity-api-version 3 --os-username nova --os-password a_big_secret --os-tenant-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 aggregate list') do |r|
|
||||||
|
expect(r.stdout).to match(/test_aggregate/)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
describe 'nova flavor' do
|
describe 'nova flavor' do
|
||||||
it 'should create new flavor' do
|
it 'should create new flavor' do
|
||||||
shell('openstack --os-identity-api-version 3 --os-username nova --os-password a_big_secret --os-tenant-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 flavor list') do |r|
|
shell('openstack --os-identity-api-version 3 --os-username nova --os-password a_big_secret --os-tenant-name services --os-user-domain-name Default --os-project-domain-name Default --os-auth-url http://127.0.0.1:5000/v3 flavor list') do |r|
|
||||||
|
Reference in New Issue
Block a user