Skip to content

Commit 0406928

Browse files
committed
tests: skip tests incompatible with VLS
1 parent c6f5f74 commit 0406928

File tree

12 files changed

+80
-0
lines changed

12 files changed

+80
-0
lines changed

tests/test_bookkeeper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ def test_bookkeeping_rbf_withdraw(node_factory, bitcoind):
332332
assert len(fees) == 1
333333

334334

335+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "hsmd_sign_option_will_fund_offer not supported")
335336
@pytest.mark.openchannel('v2')
336337
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "turns off bookkeeper at start")
337338
@unittest.skipIf(TEST_NETWORK != 'regtest', "network fees hardcoded")
@@ -408,6 +409,7 @@ def _check_events(node, channel_id, exp_events):
408409

409410
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "turns off bookkeeper at start")
410411
@unittest.skipIf(TEST_NETWORK != 'regtest', "network fees hardcoded")
412+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "remote_hsmd doesn't allow push of non-trivial amount")
411413
@pytest.mark.openchannel('v1', 'Uses push-msat')
412414
def test_bookkeeping_missed_chans_pushed(node_factory, bitcoind):
413415
"""
@@ -599,6 +601,7 @@ def test_bookkeeping_onchaind_txs(node_factory, bitcoind):
599601
assert outs == only_one(wallet_bal['balances'])['balance_msat']
600602

601603

604+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "invoice from offer: Invalid bech32: invalid checksum")
602605
def test_bookkeeping_descriptions(node_factory, bitcoind, chainparams):
603606
"""
604607
When an 'invoice' type event comes through, we look up the description details

tests/test_closing.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ def test_closing_negotiation_step_700sat(node_factory, bitcoind, chainparams):
482482
closing_negotiation_step(node_factory, bitcoind, chainparams, opts)
483483

484484

485+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "dev_sign_last_tx causes subsequent validate_holder_commitment_tx failure")
485486
@pytest.mark.parametrize("anchors", [False, True])
486487
def test_penalty_inhtlc(node_factory, bitcoind, executor, chainparams, anchors):
487488
"""Test penalty transaction with an incoming HTLC"""
@@ -614,6 +615,7 @@ def test_penalty_inhtlc(node_factory, bitcoind, executor, chainparams, anchors):
614615
check_utxos_channel(l2, [channel_id], expected_2, tags)
615616

616617

618+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "dev_sign_last_tx causes subsequent validate_holder_commitment_tx failure")
617619
@pytest.mark.parametrize("anchors", [False, True])
618620
def test_penalty_outhtlc(node_factory, bitcoind, executor, chainparams, anchors):
619621
"""Test penalty transaction with an outgoing HTLC"""
@@ -750,6 +752,7 @@ def test_penalty_outhtlc(node_factory, bitcoind, executor, chainparams, anchors)
750752

751753

752754
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
755+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
753756
@pytest.mark.openchannel('v2')
754757
@pytest.mark.slow_test
755758
def test_channel_lease_falls_behind(node_factory, bitcoind):
@@ -791,6 +794,7 @@ def test_channel_lease_falls_behind(node_factory, bitcoind):
791794

792795

793796
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
797+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
794798
@pytest.mark.openchannel('v2')
795799
@pytest.mark.slow_test
796800
def test_channel_lease_post_expiry(node_factory, bitcoind, chainparams):
@@ -892,6 +896,7 @@ def test_channel_lease_post_expiry(node_factory, bitcoind, chainparams):
892896

893897

894898
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
899+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
895900
@pytest.mark.openchannel('v2')
896901
@pytest.mark.slow_test
897902
def test_channel_lease_unilat_closes(node_factory, bitcoind):
@@ -1004,6 +1009,7 @@ def test_channel_lease_unilat_closes(node_factory, bitcoind):
10041009

10051010

10061011
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
1012+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
10071013
@pytest.mark.openchannel('v2')
10081014
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
10091015
def test_channel_lease_lessor_cheat(node_factory, bitcoind, chainparams):
@@ -1080,6 +1086,7 @@ def test_channel_lease_lessor_cheat(node_factory, bitcoind, chainparams):
10801086

10811087

10821088
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
1089+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "handle_sign_option_will_fund_offer unimplemented")
10831090
@pytest.mark.openchannel('v2')
10841091
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
10851092
def test_channel_lease_lessee_cheat(node_factory, bitcoind, chainparams):
@@ -1156,6 +1163,7 @@ def test_channel_lease_lessee_cheat(node_factory, bitcoind, chainparams):
11561163

11571164

11581165
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
1166+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't sign revoked commitment number") # FIXME - should work w/ VLS_PERMISSIVE
11591167
@pytest.mark.slow_test
11601168
@pytest.mark.parametrize("anchors", [False, True])
11611169
def test_penalty_htlc_tx_fulfill(node_factory, bitcoind, chainparams, anchors):
@@ -1340,6 +1348,7 @@ def test_penalty_htlc_tx_fulfill(node_factory, bitcoind, chainparams, anchors):
13401348

13411349

13421350
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Makes use of the sqlite3 db")
1351+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't sign revoked commitment number") # FIXME - should work with VLS_PERMISSIVE
13431352
@pytest.mark.slow_test
13441353
@pytest.mark.parametrize("anchors", [False, True])
13451354
def test_penalty_htlc_tx_timeout(node_factory, bitcoind, chainparams, anchors):
@@ -1568,6 +1577,7 @@ def test_penalty_htlc_tx_timeout(node_factory, bitcoind, chainparams, anchors):
15681577
assert acc['resolved_at_block'] > 0
15691578

15701579

1580+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "exceeds max fee policy")
15711581
@pytest.mark.parametrize("anchors", [False, True])
15721582
def test_penalty_rbf_normal(node_factory, bitcoind, executor, chainparams, anchors):
15731583
'''
@@ -2859,6 +2869,7 @@ def route_to_l1(src):
28592869

28602870

28612871
@pytest.mark.slow_test
2872+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "frequently flakes")
28622873
def test_onchain_multihtlc_our_unilateral(node_factory, bitcoind):
28632874
"""Node pushes a channel onchain with multiple HTLCs with same payment_hash """
28642875
h, l1, l2, l3, l4, l5, l6, l7 = setup_multihtlc_test(node_factory, bitcoind)
@@ -2914,6 +2925,7 @@ def test_onchain_multihtlc_our_unilateral(node_factory, bitcoind):
29142925

29152926

29162927
@pytest.mark.slow_test
2928+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "frequently flakes")
29172929
def test_onchain_multihtlc_their_unilateral(node_factory, bitcoind):
29182930
"""Node pushes a channel onchain with multiple HTLCs with same payment_hash """
29192931
h, l1, l2, l3, l4, l5, l6, l7 = setup_multihtlc_test(node_factory, bitcoind)
@@ -3077,6 +3089,7 @@ def test_permfail_htlc_out(node_factory, bitcoind, executor):
30773089
wait_for(lambda: l2.rpc.listpeers()['peers'] == [])
30783090

30793091

3092+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy: can't withdraw to non-wallet address") # FIXME - should work with auto-approve
30803093
def test_permfail(node_factory, bitcoind):
30813094
l1, l2 = node_factory.line_graph(2)
30823095

@@ -3176,6 +3189,7 @@ def test_shutdown(node_factory):
31763189
l1.rpc.stop()
31773190

31783191

3192+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "policy failure: validate_mutual_close_tx: holder_script doesn't match upfront holder_shutdown_script") # FIXME - should work with VLS_PERMISSIVE
31793193
def test_option_upfront_shutdown_script(node_factory, bitcoind, executor, chainparams):
31803194
l1 = node_factory.get_node(start=False, allow_warning=True)
31813195
# Insist on upfront script we're not going to match.

tests/test_connection.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,7 @@ def test_v2_open(node_factory, bitcoind, chainparams):
12131213
assert(result['status'] == 'complete')
12141214

12151215

1216+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "channel push not allowed: dual-funding not supported yet")
12161217
@pytest.mark.openchannel('v1')
12171218
def test_funding_push(node_factory, bitcoind, chainparams):
12181219
""" Try to push peer some sats """
@@ -1643,6 +1644,7 @@ def test_funding_v2_cancel_race(node_factory, bitcoind, executor):
16431644
@pytest.mark.openchannel('v1')
16441645
@pytest.mark.openchannel('v2')
16451646
@unittest.skipIf(TEST_NETWORK != 'regtest', "External wallet support doesn't work with elements yet.")
1647+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd') and os.getenv('VLS_PERMISSIVE') != '1', "remote_hsmd can't handle random external addresses (allowlist)") # FIXME - should work w/ auto-approve
16461648
def test_funding_close_upfront(node_factory, bitcoind):
16471649
opts = {'plugin': os.path.join(os.getcwd(), 'tests/plugins/openchannel_hook_accepter.py')}
16481650

@@ -1790,6 +1792,7 @@ def test_funding_external_wallet(node_factory, bitcoind):
17901792

17911793
@unittest.skipIf(TEST_NETWORK != 'regtest', 'elementsd doesnt yet support PSBT features we need')
17921794
@pytest.mark.openchannel('v1') # We manually turn on dual-funding for select nodes
1795+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "commit c0cc285a causes: channel stub can only return point for commitment number zero")
17931796
def test_multifunding_v1_v2_mixed(node_factory, bitcoind):
17941797
'''
17951798
Simple test for multifundchannel, using v1 + v2
@@ -2051,6 +2054,7 @@ def test_multifunding_wumbo(node_factory):
20512054
l1.rpc.multifundchannel(destinations)
20522055

20532056

2057+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "flakes too frequently w/ VLS")
20542058
@unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Fees on elements are different")
20552059
@pytest.mark.openchannel('v1') # v2 the weight calculation is off by 3
20562060
@pytest.mark.parametrize("anchors", [False, True])
@@ -2444,6 +2448,7 @@ def test_update_fee(node_factory, bitcoind):
24442448
l2.daemon.wait_for_log('onchaind complete, forgetting peer')
24452449

24462450

2451+
@pytest.mark.developer
24472452
def test_fee_limits(node_factory, bitcoind):
24482453
l1, l2, l3, l4 = node_factory.get_nodes(4, opts=[{'dev-max-fee-multiplier': 5, 'may_reconnect': True,
24492454
'allow_warning': True},
@@ -3577,6 +3582,8 @@ def test_channel_features(node_factory, bitcoind, anchors):
35773582
assert only_one(l2.rpc.listpeerchannels()['channels'])['features'] == chan['features']
35783583

35793584

3585+
@pytest.mark.developer("need dev-force-features")
3586+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support non-option_static_remotekey") # FIXME - should work with VLS_PERMISSIVE
35803587
def test_nonstatic_channel(node_factory, bitcoind):
35813588
"""Smoke test for a channel without option_static_remotekey"""
35823589
l1, l2 = node_factory.line_graph(2,
@@ -3692,6 +3699,7 @@ def test_openchannel_init_alternate(node_factory, executor):
36923699
print("nothing to do")
36933700

36943701

3702+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
36953703
def test_upgrade_statickey(node_factory, executor):
36963704
"""l1 doesn't have option_static_remotekey, l2 offers it."""
36973705
l1, l2 = node_factory.line_graph(2, opts=[{'may_reconnect': True,
@@ -3722,6 +3730,7 @@ def test_upgrade_statickey(node_factory, executor):
37223730
l2.daemon.wait_for_log(r"They sent desired_channel_type \[12\]")
37233731

37243732

3733+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
37253734
def test_upgrade_statickey_onchaind(node_factory, executor, bitcoind):
37263735
"""We test penalty before/after, and unilateral before/after"""
37273736
l1, l2 = node_factory.line_graph(2, opts=[{'may_reconnect': True,
@@ -3856,6 +3865,7 @@ def test_upgrade_statickey_onchaind(node_factory, executor, bitcoind):
38563865
wait_for(lambda: len(l2.rpc.listpeerchannels()['channels']) == 0)
38573866

38583867

3868+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "upgrade not yet supported by VLS")
38593869
def test_upgrade_statickey_fail(node_factory, executor, bitcoind):
38603870
"""We reconnect at all points during retransmit, and we won't upgrade."""
38613871
l1_disconnects = ['-WIRE_COMMITMENT_SIGNED',

tests/test_db.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def test_max_channel_id(node_factory, bitcoind):
136136
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
137137
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
138138
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
139+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't like channel_nonce changing")
139140
def test_scid_upgrade(node_factory, bitcoind):
140141
bitcoind.generate_block(1)
141142

@@ -167,6 +168,7 @@ def test_scid_upgrade(node_factory, bitcoind):
167168
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
168169
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
169170
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
171+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't like channel_nonce changing")
170172
def test_last_tx_inflight_psbt_upgrade(node_factory, bitcoind):
171173
bitcoind.generate_block(12)
172174

@@ -185,6 +187,7 @@ def test_last_tx_inflight_psbt_upgrade(node_factory, bitcoind):
185187
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
186188
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
187189
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
190+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't like channel_nonce changing")
188191
def test_last_tx_psbt_upgrade(node_factory, bitcoind):
189192
bitcoind.generate_block(12)
190193

@@ -219,6 +222,7 @@ def test_last_tx_psbt_upgrade(node_factory, bitcoind):
219222
@pytest.mark.slow_test
220223
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
221224
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
225+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support backfill yet")
222226
def test_backfill_scriptpubkeys(node_factory, bitcoind):
223227
bitcoind.generate_block(214)
224228

@@ -352,6 +356,7 @@ def get_dsn(self):
352356
os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3',
353357
"This test is based on a sqlite3 snapshot"
354358
)
359+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support DB migration")
355360
def test_local_basepoints_cache(bitcoind, node_factory):
356361
"""XXX started caching the local basepoints as well as the remote ones.
357362
@@ -440,6 +445,7 @@ def test_sqlite3_builtin_backup(bitcoind, node_factory):
440445

441446

442447
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "Don't know how to swap dbs in Postgres")
448+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "vlsd chokes on allowlist when started on wrong network")
443449
def test_db_sanity_checks(bitcoind, node_factory):
444450
l1, l2 = node_factory.get_nodes(2, opts=[{'allow_broken_log': True,
445451
'may_fail': True}, {}])

tests/test_gossip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def test_announce_dns_suppressed(node_factory, bitcoind):
182182
assert addresses[0]['port'] == 1236
183183

184184

185+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "trouble with IPv6 in VLS CI runner")
185186
def test_announce_and_connect_via_dns(node_factory, bitcoind):
186187
""" Test that DNS annoucements propagate and can be used when connecting.
187188

tests/test_invoices.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def test_invoice_weirdstring(node_factory):
130130
l1.rpc.delinvoice(weird_label, "unpaid")
131131

132132

133+
#@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "VLS policies catch two-invoice-one-preimage ahead of the node") # FIXME - should work with VLS_PERMISSIVE
133134
def test_invoice_preimage(node_factory):
134135
"""Test explicit invoice 'preimage'.
135136
"""

tests/test_misc.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,7 @@ def test_cli_commando(node_factory):
11451145
assert only_one(j['invoices'])['label'] == 'l"[]{}'
11461146

11471147

1148+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd integration test job control fails here")
11481149
def test_daemon_option(node_factory):
11491150
"""
11501151
Make sure --daemon at least vaguely works!
@@ -2173,6 +2174,7 @@ def test_bitcoind_feerate_floor(node_factory, bitcoind, anchors):
21732174

21742175

21752176
@unittest.skipIf(TEST_NETWORK != 'regtest', "Addresses are network specific")
2177+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support forced secrets")
21762178
def test_dev_force_bip32_seed(node_factory):
21772179
l1 = node_factory.get_node(options={'dev-force-bip32-seed': '0000000000000000000000000000000000000000000000000000000000000001'})
21782180
# First is m/0/0/1 ..
@@ -2511,6 +2513,7 @@ def test_regtest_upgrade(node_factory):
25112513

25122514
@unittest.skipIf(VALGRIND, "valgrind files can't be written since we rmdir")
25132515
@unittest.skipIf(TEST_NETWORK != "regtest", "needs bitcoin mainnet")
2516+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't create hsm_secret file")
25142517
def test_new_node_is_mainnet(node_factory):
25152518
"""Test that an empty directory causes us to be on mainnet"""
25162519
l1 = node_factory.get_node(start=False, may_fail=True)
@@ -2674,6 +2677,7 @@ def test_sendcustommsg(node_factory):
26742677
])
26752678

26762679

2680+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support dev-force-privkey")
26772681
def test_makesecret(node_factory):
26782682
"""
26792683
Test makesecret command.
@@ -2711,6 +2715,7 @@ def test_staticbackup(node_factory):
27112715
and l1.rpc.staticbackup()["scb"][0][16: 16 + 64] == _["channel_id"])
27122716

27132717

2718+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd says no such channel")
27142719
def test_recoverchannel(node_factory):
27152720
"""
27162721
Test recoverchannel
@@ -3744,6 +3749,7 @@ def test_setconfig(node_factory, bitcoind):
37443749
assert len(lines) == 3
37453750

37463751

3752+
@unittest.skipIf(os.getenv('SUBDAEMON').startswith('hsmd:remote_hsmd'), "remote_hsmd doesn't support this command")
37473753
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "deletes database, which is assumed sqlite3")
37483754
def test_recover_command(node_factory, bitcoind):
37493755
l1, l2 = node_factory.get_nodes(2)

0 commit comments

Comments
 (0)