Allow to test zaqar

Just add a parameter to enable/disable zaqar testing.

Change-Id: I89bcadc8fb405c214b21b30624117aeae2b8752c
This commit is contained in:
Emilien Macchi 2016-02-12 11:11:53 -05:00
parent 16b6a1a762
commit af6ea67d88
2 changed files with 5 additions and 0 deletions
manifests
spec/classes

@ -115,6 +115,8 @@
# Defaults to true
# [*murano_available*]
# Defaults to false
# [*zaqar_available*]
# Defaults to false
# [*run_service_broker_tests*]
# Defaults to false
# [*sahara_available*]
@ -226,6 +228,7 @@ class tempest(
$swift_available = false,
$trove_available = false,
$ironic_available = false,
$zaqar_available = false,
$keystone_v2 = true,
$keystone_v3 = true,
$auth_version = 'v2',
@ -339,6 +342,7 @@ class tempest(
'service_available/swift': value => $swift_available;
'service_available/trove': value => $trove_available;
'service_available/ironic': value => $ironic_available;
'service_available/zaqar': value => $zaqar_available;
'whitebox/db_uri': value => $whitebox_db_uri;
'cli/cli_dir': value => $cli_dir;
'oslo_concurrency/lock_path': value => $lock_path;

@ -194,6 +194,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('service_available/swift').with(:value => false)
is_expected.to contain_tempest_config('service_available/trove').with(:value => false)
is_expected.to contain_tempest_config('service_available/ironic').with(:value => false)
is_expected.to contain_tempest_config('service_available/zaqar').with(:value => false)
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
is_expected.to contain_tempest_config('oslo_concurrency/lock_path').with(:value => '/var/lib/tempest')