Browse Source

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>
travis-debug
Rusty Russell 5 years ago
committed by Christian Decker
parent
commit
3572d598bf
  1. 2
      tests/test_plugin.py

2
tests/test_plugin.py

@ -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 ?

Loading…
Cancel
Save