pytest: Mark the worst gossip offenders as developer-only tests

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2019-02-16 10:12:18 +01:00
committed by Rusty Russell
parent 201dd3ce0c
commit 59fa47bf64
4 changed files with 6 additions and 0 deletions

View File

@@ -1167,6 +1167,7 @@ def test_pay_variants(node_factory):
l1.rpc.pay(b11)
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow")
def test_pay_retry(node_factory, bitcoind):
"""Make sure pay command retries properly. """
def exhaust_channel(funder, fundee, scid, already_spent=0):
@@ -1341,6 +1342,7 @@ def test_pay_routeboost(node_factory, bitcoind):
assert [h['channel'] for h in attempts[2]['routehint']] == [r['short_channel_id'] for r in routel3l5]
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow")
def test_pay_direct(node_factory, bitcoind):
"""Check that we prefer the direct route.
"""