Skip to content

Commit 641be56

Browse files
committed
Skip unruly tests unless PERMISSIVE
1 parent 44aac5f commit 641be56

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
@@ -1786,6 +1786,7 @@ def test_bitcoin_backend(node_factory, bitcoind):
17861786
" bitcoind")
17871787

17881788

1789+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "channel too big, then feerate above maximum")
17891790
def test_bitcoin_bad_estimatefee(node_factory, bitcoind):
17901791
"""
17911792
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):
@@ -215,6 +216,7 @@ def test_amounts(node_factory):
215216
assert invoice['amount_received_msat'] >= Millisatoshi(123456)
216217

217218

219+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "invoice with any amount")
218220
def test_limits(node_factory):
219221
'''
220222
Topology:
@@ -312,7 +314,7 @@ def start_channels(connections):
312314
for n2 in nodes:
313315
wait_for(lambda: 'alias' in only_one(n.rpc.listnodes(n2.info['id'])['nodes']))
314316

315-
317+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "invoice with any amount")
316318
def test_hardmpp(node_factory):
317319
'''
318320
Topology:

0 commit comments

Comments
 (0)