pytest: Exclude elements-cli from valgrind when following children

Without this we'd be attaching valgrind to all elements-cli call, resulting in
a huge overhead and timeouts.
This commit is contained in:
Christian Decker 2019-09-19 13:25:31 +02:00 committed by Rusty Russell
parent e23d8a4aff
commit 37fb912524

View File

@ -959,7 +959,7 @@ class NodeFactory(object):
'valgrind', 'valgrind',
'-q', '-q',
'--trace-children=yes', '--trace-children=yes',
'--trace-children-skip=*python*,*bitcoin-cli*', '--trace-children-skip=*python*,*bitcoin-cli*,*elements-cli*',
'--error-exitcode=7', '--error-exitcode=7',
'--log-file={}/valgrind-errors.%p'.format(node.daemon.lightning_dir) '--log-file={}/valgrind-errors.%p'.format(node.daemon.lightning_dir)
] ]