mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-20 13:27:36 +02:00
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>
This commit is contained in:
parent
082e70aada
commit
94e3c1502f
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue