Replace remaining usage of deprecated options
Fix a few remaining usage of deprecated username/password options
which were not caught in [1].
[1] 6d34bf005f
Change-Id: I0829ebcad74d24968b9e3296bb3dcbaf8d6d5642
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -44,7 +44,7 @@ class TestBMemcachePoolCacheBackend(test_base.BaseTestCaseCacheBackend):
|
||||
enabled=True,
|
||||
memcache_servers=[f'localhost:{MEMCACHED_PORT}'],
|
||||
memcache_sasl_enabled=False,
|
||||
memcache_username='sasl_name',
|
||||
memcache_password='sasl_pswd',
|
||||
username='sasl_name',
|
||||
password='sasl_pswd',
|
||||
)
|
||||
super().setUp()
|
||||
|
||||
@@ -887,8 +887,8 @@ class CacheRegionTest(test_cache.BaseTestCase):
|
||||
config_prefix='test_prefix',
|
||||
backend='dogpile.cache.redis',
|
||||
redis_server='[::1]:6379',
|
||||
redis_username='user',
|
||||
redis_password='secrete',
|
||||
username='user',
|
||||
password='secrete',
|
||||
)
|
||||
|
||||
config_dict = cache._build_cache_config(self.config_fixture.conf)
|
||||
@@ -1002,8 +1002,8 @@ class CacheRegionTest(test_cache.BaseTestCase):
|
||||
enabled=True,
|
||||
config_prefix='test_prefix',
|
||||
backend='dogpile.cache.redis_sentinel',
|
||||
redis_username='user',
|
||||
redis_password='secrete',
|
||||
username='user',
|
||||
password='secrete',
|
||||
redis_db=1,
|
||||
redis_sentinels=[
|
||||
'127.0.0.1:26379',
|
||||
|
||||
Reference in New Issue
Block a user