|
@ -1677,7 +1677,8 @@ class LightningDTests(BaseLightningDTests): |
|
|
needle = "Received channel_update for channel" |
|
|
needle = "Received channel_update for channel" |
|
|
l1.daemon.wait_for_log(needle) |
|
|
l1.daemon.wait_for_log(needle) |
|
|
l2.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'] |
|
|
nodes = l1.rpc.listnodes()['nodes'] |
|
|
assert set([n['nodeid'] for n in nodes]) == set([l1.info['id'], l2.info['id']]) |
|
|
assert set([n['nodeid'] for n in nodes]) == set([l1.info['id'], l2.info['id']]) |
|
|