Add support for [api_settings] healthcheck_refresh_interval
Change-Id: I2f757b80ef45a7bd6c28814fddb8a024b591587f
This commit is contained in:
@@ -15,6 +15,7 @@ describe 'octavia::api' do
|
||||
:provider_drivers => { 'amphora' => 'Octavia Amphora Driver', 'ovn' => 'Octavia OVN driver' },
|
||||
:pagination_max_limit => '1000',
|
||||
:healthcheck_enabled => true,
|
||||
:healthcheck_refresh_interval => 5,
|
||||
}
|
||||
end
|
||||
|
||||
@@ -57,6 +58,7 @@ describe 'octavia::api' do
|
||||
is_expected.to contain_octavia_config('api_settings/enabled_provider_drivers').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('api_settings/pagination_max_limit').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('api_settings/healthcheck_enabled').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('api_settings/healthcheck_refresh_interval').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_oslo__middleware('octavia_config').with(
|
||||
:enable_proxy_headers_parsing => '<SERVICE DEFAULT>',
|
||||
)
|
||||
@@ -77,6 +79,7 @@ describe 'octavia::api' do
|
||||
is_expected.to contain_octavia_config('api_settings/enabled_provider_drivers').with_value( params[:provider_drivers] )
|
||||
is_expected.to contain_octavia_config('api_settings/pagination_max_limit').with_value( params[:pagination_max_limit] )
|
||||
is_expected.to contain_octavia_config('api_settings/healthcheck_enabled').with_value( params[:healthcheck_enabled] )
|
||||
is_expected.to contain_octavia_config('api_settings/healthcheck_refresh_interval').with_value( params[:healthcheck_refresh_interval] )
|
||||
end
|
||||
|
||||
[{:enabled => true}, {:enabled => false}].each do |param_hash|
|
||||
|
||||
Reference in New Issue
Block a user