mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-04 03:03:51 +01:00
pytest: Use the same TIMEOUT
in wait_for_route
This was getting flaky whenever we had multihop routing syncs and had `DEVELOPER=0`, which uses the slow gossip propagation.
This commit is contained in:
parent
39022028e9
commit
cc7985df92
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ class LightningNode(object):
|
|||
+ ['Received channel_update for channel {}/1'.format(c)
|
||||
for c in scids])
|
||||
|
||||
def wait_for_route(self, destination, timeout=30):
|
||||
def wait_for_route(self, destination, timeout=TIMEOUT):
|
||||
""" Wait for a route to the destination to become available.
|
||||
"""
|
||||
start_time = time.time()
|
||||
|
|
Loading…
Add table
Reference in a new issue