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.
This commit is contained in:
Christian Decker 2019-12-16 15:28:03 +01:00
parent 8cad3ffeac
commit 483b00392e

View File

@ -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.