Browse Source

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.
travis-debug
Christian Decker 5 years ago
parent
commit
483b00392e
  1. 1
      tests/test_closing.py

1
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']) 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): def test_closing_torture(node_factory, executor, bitcoind):
# We set up N-to-N fully-connected mesh, then try # We set up N-to-N fully-connected mesh, then try
# closing them all at once. # closing them all at once.

Loading…
Cancel
Save