mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
pytest: Increate timeout when waiting for gossip
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
0790d9b52f
commit
81551b2e60
@@ -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']])
|
||||
|
||||
Reference in New Issue
Block a user