Skip to content

Commit 5897fb3

Browse files
committed
Skip unruly tests unless PERMISSIVE
1 parent ffca9cd commit 5897fb3

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
@@ -5,6 +5,7 @@
55
import random
66
import time
77
import json
8+
import unittest
89

910

1011
def test_simple(node_factory):
@@ -170,6 +171,7 @@ def test_amounts(node_factory):
170171
assert invoice['amount_received_msat'] >= Millisatoshi(123456)
171172

172173

174+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "invoice with any amount")
173175
@pytest.mark.developer("needs to deactivate shadow routing")
174176
def test_limits(node_factory):
175177
'''
@@ -268,7 +270,7 @@ def start_channels(connections):
268270
for n2 in nodes:
269271
wait_for(lambda: 'alias' in only_one(n.rpc.listnodes(n2.info['id'])['nodes']))
270272

271-
273+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "invoice with any amount")
272274
def test_hardmpp(node_factory):
273275
'''
274276
Topology:

0 commit comments

Comments
 (0)