From 94e3c1502f33bca36716bc114afa4a083215086c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 7 Jan 2026 16:12:41 +1030 Subject: [PATCH] pytest: reduce test_funding_v2_cancel_race nodes under CI. ``` [gw0] [ 24%] PASSED tests/test_misc.py::test_hsm_capabilities tests/test_connection.py::test_funding_cancel_race Error: Process completed with exit code 143. ``` Seems like 100 nodes is too many! Signed-off-by: Rusty Russell --- tests/test_connection.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index f0623c78e1..ffbf3c9e3d 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -13,7 +13,7 @@ from utils import ( mine_funding_to_announce, first_scid, CHANNEL_SIZE ) -from pyln.testing.utils import VALGRIND, EXPERIMENTAL_DUAL_FUND, FUNDAMOUNT, RUST +from pyln.testing.utils import VALGRIND, EXPERIMENTAL_DUAL_FUND, FUNDAMOUNT, RUST, SLOW_MACHINE import os import pytest @@ -1476,6 +1476,8 @@ def test_funding_cancel_race(node_factory, bitcoind, executor): if VALGRIND: num = 5 + elif SLOW_MACHINE: + num = 20 else: num = 100 @@ -1557,6 +1559,8 @@ def test_funding_v2_cancel_race(node_factory, bitcoind, executor): if VALGRIND: num = 5 + elif SLOW_MACHINE: + num = 20 else: num = 100