Skip to content

Commit b1997e0

Browse files
committed
Skip unruly tests unless PERMISSIVE
1 parent 70970b2 commit b1997e0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/test_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,6 +1755,7 @@ def test_bitcoin_backend(node_factory, bitcoind):
17551755
" bitcoind")
17561756

17571757

1758+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "channel too big, then feerate above maximum")
17581759
def test_bitcoin_bad_estimatefee(node_factory, bitcoind):
17591760
"""
17601761
This tests that we don't crash if bitcoind backend gives bad estimatefees.

tests/test_renepay.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import time
77
import json
88
import subprocess
9+
import unittest
910

1011

1112
def test_simple(node_factory):
@@ -181,6 +182,7 @@ def test_amounts(node_factory):
181182
assert invoice['amount_received_msat'] >= Millisatoshi(123456)
182183

183184

185+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "invoice with any amount")
184186
@pytest.mark.developer("needs to deactivate shadow routing")
185187
def test_limits(node_factory):
186188
'''
@@ -279,7 +281,7 @@ def start_channels(connections):
279281
for n2 in nodes:
280282
wait_for(lambda: 'alias' in only_one(n.rpc.listnodes(n2.info['id'])['nodes']))
281283

282-
284+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "invoice with any amount")
283285
def test_hardmpp(node_factory):
284286
'''
285287
Topology:

0 commit comments

Comments
 (0)