From 81551b2e60f519af78ff63625fb93fe14a3b270c Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 2 Feb 2018 20:19:07 +0100 Subject: [PATCH] pytest: Increate timeout when waiting for gossip Signed-off-by: Christian Decker --- tests/test_lightningd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_lightningd.py b/tests/test_lightningd.py index 46e722437..a4a1cbde3 100644 --- a/tests/test_lightningd.py +++ b/tests/test_lightningd.py @@ -1677,7 +1677,8 @@ class LightningDTests(BaseLightningDTests): needle = "Received channel_update for channel" l1.daemon.wait_for_log(needle) l2.daemon.wait_for_log(needle) - wait_for(lambda: len(l1.getactivechannels()) == 2) + # Need to increase timeout, intervals cannot be shortened with DEVELOPER=0 + wait_for(lambda: len(l1.getactivechannels()) == 2, timeout=60) nodes = l1.rpc.listnodes()['nodes'] assert set([n['nodeid'] for n in nodes]) == set([l1.info['id'], l2.info['id']])