summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qa/tasks/rgw_multisite.py3
-rw-r--r--src/test/rgw/test_multi.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/qa/tasks/rgw_multisite.py b/qa/tasks/rgw_multisite.py
index 74c1f3f9dbd..668696b63b4 100644
--- a/qa/tasks/rgw_multisite.py
+++ b/qa/tasks/rgw_multisite.py
@@ -187,7 +187,8 @@ class Cluster(multisite.Cluster):
""" radosgw-admin command """
args = args or []
args += ['--cluster', self.name]
- args += ['--debug-rgw', '0']
+ args += ['--debug-rgw', str(kwargs.pop('debug_rgw', 0))]
+ args += ['--debug-ms', str(kwargs.pop('debug_ms', 0))]
if kwargs.pop('read_only', False):
args += ['--rgw-cache-enabled', 'false']
kwargs['decode'] = False
diff --git a/src/test/rgw/test_multi.py b/src/test/rgw/test_multi.py
index bbf6d49f373..bd42fe59064 100644
--- a/src/test/rgw/test_multi.py
+++ b/src/test/rgw/test_multi.py
@@ -52,6 +52,8 @@ class Cluster(multisite.Cluster):
cmd = [test_path + 'test-rgw-call.sh', 'call_rgw_admin', self.cluster_id]
if args:
cmd += args
+ cmd += ['--debug-rgw', str(kwargs.pop('debug_rgw', 0))]
+ cmd += ['--debug-ms', str(kwargs.pop('debug_ms', 0))]
if kwargs.pop('read_only', False):
cmd += ['--rgw-cache-enabled', 'false']
return bash(cmd, **kwargs)