Merge "Support [service-clients] http_timeout"

This commit is contained in:
Zuul 2023-04-17 03:40:59 +00:00 committed by Gerrit Code Review
commit 6b79547674
3 changed files with 9 additions and 0 deletions

View File

@ -58,6 +58,8 @@
# Defaults to false
# [*logging_context_format_string*]
# Defaults to $facts['os_service_default']
# [*http_timeout*]
# Defaults to $facts['os_service_default']
# [*username*]
# Defaults to undef
# [*password*]
@ -334,6 +336,7 @@ class tempest(
$use_stderr = true,
$use_syslog = false,
$logging_context_format_string = $facts['os_service_default'],
$http_timeout = $facts['os_service_default'],
$attach_encrypted_volume = false,
# non admin user
$username = undef,
@ -572,6 +575,7 @@ class tempest(
tempest_config {
'service-clients/http_timeout': value => $http_timeout;
'auth/admin_domain_name': value => $admin_domain_name;
'auth/admin_project_domain_name': value => $admin_project_domain_name;
'auth/admin_user_domain_name': value => $admin_user_domain_name;

View File

@ -0,0 +1,4 @@
---
features:
- |
The new ``tempest::http_timeout`` parameter has been added.

View File

@ -198,6 +198,7 @@ describe 'tempest' do
it { should contain_class('openstacklib::openstackclient') }
it 'configure tempest config' do
is_expected.to contain_tempest_config('service-clients/http_timeout').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_tempest_config('auth/admin_domain_name').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_tempest_config('auth/admin_project_domain_name').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_tempest_config('auth/admin_user_domain_name').with(:value => '<SERVICE DEFAULT>')