Merge "Remove unused [memcache] options"

This commit is contained in:
Zuul 2021-10-01 01:27:25 +00:00 committed by Gerrit Code Review
commit 4c6e031818
2 changed files with 1 additions and 10 deletions

View File

@ -152,10 +152,7 @@ class keystone::cache(
}
keystone_config {
'memcache/dead_retry': value => $memcache_dead_retry;
'memcache/pool_maxsize': value => $memcache_pool_maxsize;
'memcache/pool_unused_timeout': value => $memcache_pool_unused_timeout;
'token/caching': value => $token_caching;
'token/caching': value => $token_caching;
}
oslo::cache { 'keystone_config':

View File

@ -10,9 +10,6 @@ describe 'keystone::cache' do
context 'with default parameters' do
it 'configures cache' do
is_expected.to contain_keystone_config('memcache/dead_retry').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('memcache/pool_maxsize').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('memcache/pool_unused_timeout').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('token/caching').with_value('<SERVICE DEFAULT>')
is_expected.to contain_oslo__cache('keystone_config').with(
@ -61,9 +58,6 @@ describe 'keystone::cache' do
end
it 'configures cache' do
is_expected.to contain_keystone_config('memcache/dead_retry').with_value('60')
is_expected.to contain_keystone_config('memcache/pool_maxsize').with_value('10')
is_expected.to contain_keystone_config('memcache/pool_unused_timeout').with_value('120')
is_expected.to contain_keystone_config('token/caching').with_value(true)
is_expected.to contain_oslo__cache('keystone_config').with(