mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
rgw: fix valgrind when no valgrind
Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
parent
037ef81867
commit
6b4014452f
@ -177,12 +177,13 @@ def start_rgw(ctx, config):
|
||||
run.Raw('2>&1'),
|
||||
]
|
||||
|
||||
run_cmd = teuthology.get_valgrind_args(
|
||||
testdir,
|
||||
client,
|
||||
run_cmd,
|
||||
client_config.get('valgrind')
|
||||
)
|
||||
if client_config.get('valgrind'):
|
||||
run_cmd = teuthology.get_valgrind_args(
|
||||
testdir,
|
||||
client,
|
||||
run_cmd,
|
||||
client_config.get('valgrind')
|
||||
)
|
||||
|
||||
run_cmd.extend(run_cmd_tail)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user