mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-26 20:30:59 +01:00
pytest: two more slow tests I missed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
25ddb80823
commit
c43d09dfd3
2 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,7 @@ def test_invoice_preimage(node_factory):
|
||||||
l2.rpc.invoice(123456, 'inv2', '?', preimage=invoice_preimage)
|
l2.rpc.invoice(123456, 'inv2', '?', preimage=invoice_preimage)
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow")
|
||||||
def test_invoice_routeboost(node_factory, bitcoind):
|
def test_invoice_routeboost(node_factory, bitcoind):
|
||||||
"""Test routeboost 'r' hint in bolt11 invoice.
|
"""Test routeboost 'r' hint in bolt11 invoice.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -2049,6 +2049,7 @@ def test_setchannelfee_all(node_factory, bitcoind):
|
||||||
assert result['channels'][1]['short_channel_id'] == scid3
|
assert result['channels'][1]['short_channel_id'] == scid3
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow")
|
||||||
def test_channel_spendable(node_factory, bitcoind):
|
def test_channel_spendable(node_factory, bitcoind):
|
||||||
"""Test that spendable_msat is accurate"""
|
"""Test that spendable_msat is accurate"""
|
||||||
sats = 10**6
|
sats = 10**6
|
||||||
|
@ -2101,6 +2102,7 @@ def test_channel_spendable(node_factory, bitcoind):
|
||||||
l2.rpc.waitsendpay(payment_hash, TIMEOUT)
|
l2.rpc.waitsendpay(payment_hash, TIMEOUT)
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow")
|
||||||
def test_channel_spendable_large(node_factory, bitcoind):
|
def test_channel_spendable_large(node_factory, bitcoind):
|
||||||
"""Test that spendable_msat is accurate for large channels"""
|
"""Test that spendable_msat is accurate for large channels"""
|
||||||
# This is almost the max allowable spend.
|
# This is almost the max allowable spend.
|
||||||
|
|
Loading…
Add table
Reference in a new issue