mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
plugin: Actually wait the 20 seconds promised in the docs
We promised we'd be waiting up to 20 seconds, but were only waiting for 10. Fix that by bumping to the documented 20.
This commit is contained in:
committed by
Rusty Russell
parent
0987747ded
commit
23149c3daa
@@ -161,7 +161,7 @@ def test_plugin_command(node_factory):
|
||||
n2.rpc.plugin_stop(plugin="static.py")
|
||||
|
||||
# Test that we don't crash when starting a broken plugin
|
||||
with pytest.raises(RpcError, match=r"Timed out while waiting for plugin response"):
|
||||
with pytest.raises(RpcError, match=r"Plugin exited before completing handshake."):
|
||||
n2.rpc.plugin_start(plugin=os.path.join(os.getcwd(), "tests/plugins/broken.py"))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user