From 483b00392e4f179aee8e4901eb6cd7404f482368 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 16 Dec 2019 15:28:03 +0100 Subject: [PATCH] pytest: Skip test_closing_torture under valgrind It's really too slow under valgrind, so skip it. Otherwise it'll just fail the entire run in most cases. --- tests/test_closing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_closing.py b/tests/test_closing.py index 58f880b74..81609f3df 100644 --- a/tests/test_closing.py +++ b/tests/test_closing.py @@ -145,6 +145,7 @@ def test_closing_id(node_factory): wait_for(lambda: not only_one(l2.rpc.listpeers(l1.info['id'])['peers'])['connected']) +@unittest.skipIf(VALGRIND, "Flaky under valgrind") def test_closing_torture(node_factory, executor, bitcoind): # We set up N-to-N fully-connected mesh, then try # closing them all at once.