Support [load_balancer] test_with_noop
... so that we can set this parameter in our integration tests, which use noop drivers. Change-Id: Ia2137a49a0610924d9a476c62ae31270a5a9acf9
This commit is contained in:
parent
e919c537f9
commit
d65c6ab9a7
@ -225,6 +225,8 @@
|
||||
# Defaults to $::os_service_default
|
||||
# [*load_balancer_global_observer_role*]
|
||||
# Defaults to $::os_service_default
|
||||
# [*load_balancer_test_with_noop*]
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# DEPREACTED PARAMETERS
|
||||
# [*img_dir*]
|
||||
@ -382,6 +384,7 @@ class tempest(
|
||||
$load_balancer_admin_role = $::os_service_default,
|
||||
$load_balancer_observer_role = $::os_service_default,
|
||||
$load_balancer_global_observer_role = $::os_service_default,
|
||||
$load_balancer_test_with_noop = $::os_service_default,
|
||||
# DEPRECATED PARAMETERS
|
||||
$img_dir = undef,
|
||||
$panko_available = undef,
|
||||
@ -623,6 +626,7 @@ class tempest(
|
||||
'load_balancer/admin_role': value => $load_balancer_admin_role;
|
||||
'load_balancer/observer_role': value => $load_balancer_observer_role;
|
||||
'load_balancer/global_observer_role': value => $load_balancer_global_observer_role;
|
||||
'load_balancer/test_with_noop': value => $load_balancer_test_with_noop;
|
||||
}
|
||||
|
||||
oslo::concurrency { 'tempest_config': lock_path => $lock_path }
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``tempest::load_balancer_test_with_noop`` parameter has been added.
|
@ -279,6 +279,7 @@ describe 'tempest' do
|
||||
is_expected.to contain_tempest_config('load_balancer/admin_role').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('load_balancer/observer_role').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('load_balancer/global_observer_role').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_tempest_config('load_balancer/test_with_noop').with(:value => '<SERVICE DEFAULT>')
|
||||
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_oslo__concurrency('tempest_config').with(
|
||||
|
Loading…
Reference in New Issue
Block a user