mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
pytest: Wait on both sides in test_peerinfo
We were sort of assuming that one side telling it's ok would automagically make the other side succeed as well. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
eb869cf144
commit
f1c64db5e7
@@ -4524,6 +4524,7 @@ class LightningDTests(BaseLightningDTests):
|
||||
l1.daemon.wait_for_log('Forgetting remote peer')
|
||||
bitcoind.generate_block(100)
|
||||
l1.daemon.wait_for_log('WIRE_ONCHAIN_ALL_IRREVOCABLY_RESOLVED')
|
||||
l2.daemon.wait_for_log('WIRE_ONCHAIN_ALL_IRREVOCABLY_RESOLVED')
|
||||
|
||||
# The only channel was closed, everybody should have forgotten the nodes
|
||||
assert l1.rpc.listnodes()['nodes'] == []
|
||||
|
||||
Reference in New Issue
Block a user