Skip to content

Commit

Permalink
pytest: Use the same TIMEOUT in wait_for_route
Browse files Browse the repository at this point in the history
This was getting flaky whenever we had multihop routing syncs and had
`DEVELOPER=0`, which uses the slow gossip propagation.
  • Loading branch information
cdecker committed Oct 8, 2021
1 parent f36532a commit 653797d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/pyln-testing/pyln/testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ def wait_for_channel_updates(self, scids):
+ ['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()
Expand Down

0 comments on commit 653797d

Please sign in to comment.