mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
Merge pull request #794 from ceph/wip-rbd-valgrind-jewel
suites/rbd: avoid redundant helgrind tests Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
a71bac40a8
@ -1,4 +1,6 @@
|
||||
overrides:
|
||||
rbd_fsx:
|
||||
valgrind: ["--tool=helgrind"]
|
||||
workunit:
|
||||
env:
|
||||
VALGRIND: "helgrind"
|
||||
|
@ -1,4 +1,6 @@
|
||||
overrides:
|
||||
rbd_fsx:
|
||||
valgrind: ["--tool=memcheck"]
|
||||
workunit:
|
||||
env:
|
||||
VALGRIND: "memcheck"
|
||||
|
@ -2,4 +2,3 @@ tasks:
|
||||
- rbd_fsx:
|
||||
clients: [client.0]
|
||||
size: 134217728
|
||||
valgrind: [--tool=memcheck]
|
||||
|
@ -1,5 +0,0 @@
|
||||
tasks:
|
||||
- rbd_fsx:
|
||||
clients: [client.0]
|
||||
size: 134217728
|
||||
valgrind: [--tool=helgrind]
|
@ -33,6 +33,7 @@ def task(ctx, config):
|
||||
seed: <random seed number, or 0 to use the time>
|
||||
ops: <number of operations to do>
|
||||
size: <maximum image size in bytes>
|
||||
valgrind: [--tool=<valgrind tool>]
|
||||
"""
|
||||
log.info('starting rbd_fsx...')
|
||||
with parallel() as p:
|
||||
@ -55,6 +56,9 @@ def _run_one_client(ctx, config, role):
|
||||
'{tdir}/archive/coverage'.format(tdir=testdir)
|
||||
])
|
||||
|
||||
overrides = ctx.config.get('overrides', {})
|
||||
teuthology.deep_merge(config, overrides.get('rbd_fsx', {}))
|
||||
|
||||
if config.get('valgrind'):
|
||||
args = teuthology.get_valgrind_args(
|
||||
testdir,
|
||||
|
Loading…
Reference in New Issue
Block a user