mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
pytest: Make test_funding_cancel_race SLOW_MACHINE compatible
This test is spawning 100 nodes concurrently, which is a lot even when not running with `valgrind`, especially when executing tests in parallel. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
5fbb15bd59
commit
a85d3dc220
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ from collections import namedtuple
|
|||
from fixtures import * # noqa: F401,F403
|
||||
from flaky import flaky # noqa: F401
|
||||
from lightning import RpcError
|
||||
from utils import DEVELOPER, only_one, wait_for, sync_blockheight, VALGRIND, TIMEOUT
|
||||
from utils import DEVELOPER, only_one, wait_for, sync_blockheight, VALGRIND, TIMEOUT, SLOW_MACHINE
|
||||
from bitcoin.core import CMutableTransaction, CMutableTxOut
|
||||
|
||||
import binascii
|
||||
|
@ -856,7 +856,7 @@ def test_funding_external_wallet_corners(node_factory, bitcoind):
|
|||
def test_funding_cancel_race(node_factory, bitcoind, executor):
|
||||
l1 = node_factory.get_node()
|
||||
|
||||
if VALGRIND:
|
||||
if VALGRIND or SLOW_MACHINE:
|
||||
num = 5
|
||||
else:
|
||||
num = 100
|
||||
|
|
Loading…
Add table
Reference in a new issue