Fix config parameter name for volume-feature-enabled

In tempest.conf, the config block is called "volume-feature-enabled",
not "volume_feature_enabled".
This also adds a missing test.

Change-Id: I588c9864cd20c75de7caecf733603a3587c34d12
This commit is contained in:
David Moreau-Simard 2016-10-11 17:16:29 -04:00
parent 83da0f568a
commit 7edad4647e
2 changed files with 2 additions and 1 deletions

View File

@ -458,7 +458,7 @@ class tempest(
'dashboard/dashboard_url': value => $dashboard_url;
'database/db_flavor_ref': value => $db_flavor_ref;
'service_available/cinder': value => $cinder_available;
'volume_feature_enabled/backup': value => $cinder_backup_available;
'volume-feature-enabled/backup': value => $cinder_backup_available;
'service_available/glance': value => $glance_available;
'service_available/heat': value => $heat_available;
'service_available/ceilometer': value => $ceilometer_available;

View File

@ -244,6 +244,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('dashboard/dashboard_url').with(:value => nil)
is_expected.to contain_tempest_config('database/db_flavor_ref').with_value('<SERVICE DEFAULT>')
is_expected.to contain_tempest_config('service_available/cinder').with(:value => true)
is_expected.to contain_tempest_config('volume-feature-enabled/backup').with(:value => false)
is_expected.to contain_tempest_config('service_available/glance').with(:value => true)
is_expected.to contain_tempest_config('service_available/heat').with(:value => false)
is_expected.to contain_tempest_config('service_available/ceilometer').with(:value => false)