Skip to content

Commit d68a2fc

Browse files
committed
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 <rusty@rustcorp.com.au>
1 parent 386a613 commit d68a2fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_connection.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
mine_funding_to_announce, first_scid,
1414
CHANNEL_SIZE
1515
)
16-
from pyln.testing.utils import VALGRIND, EXPERIMENTAL_DUAL_FUND, FUNDAMOUNT, RUST
16+
from pyln.testing.utils import VALGRIND, EXPERIMENTAL_DUAL_FUND, FUNDAMOUNT, RUST, SLOW_MACHINE
1717

1818
import os
1919
import pytest
@@ -1557,6 +1557,8 @@ def test_funding_v2_cancel_race(node_factory, bitcoind, executor):
15571557

15581558
if VALGRIND:
15591559
num = 5
1560+
elif SLOW_MACHINE:
1561+
num = 20
15601562
else:
15611563
num = 100
15621564

0 commit comments

Comments
 (0)