mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
tests: fix flake in libplugin test.
My test machine is fast enough that we might not have seen the plugin msg yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
6f41d18a92
commit
3572d598bf
@@ -819,7 +819,7 @@ def test_libplugin(node_factory):
|
||||
# Test hooks and notifications
|
||||
l2 = node_factory.get_node()
|
||||
l2.connect(l1)
|
||||
assert l1.daemon.is_in_log("{} peer_connected".format(l2.info["id"]))
|
||||
l1.daemon.wait_for_log("{} peer_connected".format(l2.info["id"]))
|
||||
l1.daemon.wait_for_log("{} connected".format(l2.info["id"]))
|
||||
|
||||
# Test RPC calls FIXME: test concurrent ones ?
|
||||
|
||||
Reference in New Issue
Block a user