Merge "Fix redis expected parameter type"

This commit is contained in:
Zuul 2019-04-04 12:18:07 +00:00 committed by Gerrit Code Review
commit fc1c246516
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(