From f4abc3a661fbc30bfd40debf7d4fd379d7627b3e Mon Sep 17 00:00:00 2001 From: niftynei Date: Sat, 23 Jul 2022 12:03:27 -0500 Subject: [PATCH] tests: local flake fix; l1 was waiting too long to reconnect Impacts local tests, when TIMEOUT is set low... --- tests/test_misc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_misc.py b/tests/test_misc.py index 2f67ee17b..ee8a2b57c 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1084,7 +1084,7 @@ def chan_active(node, scid, is_active): return [c['active'] for c in chans] == [is_active, is_active] -@pytest.mark.developer("needs DEVELOPER=1") +@pytest.mark.developer("needs DEVELOPER=1", "uses dev-fast-reconnect") @pytest.mark.openchannel('v2') @pytest.mark.openchannel('v1') def test_funding_reorg_private(node_factory, bitcoind): @@ -1096,7 +1096,8 @@ def test_funding_reorg_private(node_factory, bitcoind): 'allow_bad_gossip': True, # gossipd send lightning update for original channel. 'allow_broken_log': True, - 'allow_warning': True} + 'allow_warning': True, + 'dev-fast-reconnect': None} l1, l2 = node_factory.line_graph(2, fundchannel=False, opts=opts) l1.fundwallet(10000000) sync_blockheight(bitcoind, [l1]) # height 102