From 8133390c9f3781857eae08fc1bb2b6d05958cb59 Mon Sep 17 00:00:00 2001 From: Daniel Krysiak Date: Tue, 26 Mar 2019 15:20:29 +0100 Subject: [PATCH] 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 --- .../guestagent/strategies/restore/experimental/redis_impl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trove/guestagent/strategies/restore/experimental/redis_impl.py b/trove/guestagent/strategies/restore/experimental/redis_impl.py index 14dff436f5..551aff9cef 100644 --- a/trove/guestagent/strategies/restore/experimental/redis_impl.py +++ b/trove/guestagent/strategies/restore/experimental/redis_impl.py @@ -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(