mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
test_lightning.py: make sure gossip has processed channel_updates.
Receiving them in channeld is not enough to avoid the race:
route = l1.rpc.getroute(l3.info['id'], 4999999, 1)["route"]
...
ValueError: RPC call failed: Could not find a route
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
896ecb4da7
commit
d84dc5633a
@@ -1614,10 +1614,10 @@ class LightningDTests(BaseLightningDTests):
|
||||
|
||||
# Make sure l1 has seen announce for all channels.
|
||||
l1.daemon.wait_for_logs([
|
||||
'Received channel_update for channel {}\\(0\\)'.format(c1),
|
||||
'Received channel_update for channel {}\\(1\\)'.format(c1),
|
||||
'Received channel_update for channel {}\\(0\\)'.format(c2),
|
||||
'Received channel_update for channel {}\\(1\\)'.format(c2)])
|
||||
'Channel {}\\(0\\) was updated.'.format(c1),
|
||||
'Channel {}\\(1\\) was updated.'.format(c1),
|
||||
'Channel {}\\(0\\) was updated.'.format(c2),
|
||||
'Channel {}\\(1\\) was updated.'.format(c2)])
|
||||
|
||||
# BOLT #7:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user