Fix redis expected parameter type

This patch changes expected types of Redis' parameters from string to
integer because in Redis driver during parsing info all values
are converted to integer or float.

Change-Id: Ibb0cba582889c7e3dca3b8bd8b50e3103e954aee
This commit is contained in:
Daniel Krysiak 2019-03-26 15:20:29 +01:00 committed by Kasper Hasior
parent b00bad9495
commit 8133390c9f
1 changed files with 2 additions and 2 deletions

View File

@ -63,10 +63,10 @@ class RedisBackup(base.RestoreRunner):
# IF AOF was set, we need to put back the original file
if self.aof_set:
self.app.admin.wait_until('loading', '0',
self.app.admin.wait_until('loading', 0,
section=self.INFO_PERSISTENCE_SECTION)
self.app.admin.execute('BGREWRITEAOF')
self.app.admin.wait_until('aof_rewrite_in_progress', '0',
self.app.admin.wait_until('aof_rewrite_in_progress', 0,
section=self.INFO_PERSISTENCE_SECTION)
self.app.stop_db()
self.app.configuration_manager.remove_system_override(