From 37fb912524f8455105f0a23cf28e369c2dc91ba2 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 19 Sep 2019 13:25:31 +0200 Subject: [PATCH] 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. --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 7973e20c5..5b96c8637 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -959,7 +959,7 @@ class NodeFactory(object): 'valgrind', '-q', '--trace-children=yes', - '--trace-children-skip=*python*,*bitcoin-cli*', + '--trace-children-skip=*python*,*bitcoin-cli*,*elements-cli*', '--error-exitcode=7', '--log-file={}/valgrind-errors.%p'.format(node.daemon.lightning_dir) ]