From 94820ad5596756c71a7cc91cf6dcf94881d3cba4 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 21 Dec 2020 13:09:49 +0100 Subject: [PATCH] pytest: Disable test_funding_cancel_race on slow machines The CI regularly trips up on this very taxing test (100 nodes) so only run it if we have the required horsepower. --- tests/test_connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_connection.py b/tests/test_connection.py index 6988cf44c..3f736eb2b 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -11,6 +11,7 @@ from utils import ( check_coin_moves, first_channel_id, account_balance, basic_fee, EXPERIMENTAL_FEATURES ) +from pyln.testing.utils import SLOW_MACHINE, VALGRIND from bitcoin.core import CMutableTransaction, CMutableTxOut import binascii @@ -1042,6 +1043,7 @@ def test_funding_external_wallet_corners(node_factory, bitcoind): l1.rpc.close(l2.info['id']) +@unittest.skipIf(SLOW_MACHINE and not VALGRIND, "Way too taxing on CI machines") def test_funding_cancel_race(node_factory, bitcoind, executor): l1 = node_factory.get_node()