plugin: Fix hanging hook calls if the plugin dies

Changelog-Fixed: plugin: A crashing plugin will no longer cause a hook call to be delayed indefinitely
This commit is contained in:
Christian Decker
2020-02-12 19:44:01 +01:00
committed by Rusty Russell
parent 644daa02e3
commit 4a21883553
2 changed files with 91 additions and 10 deletions

View File

@@ -1014,7 +1014,6 @@ def test_bcli(node_factory, bitcoind, chainparams):
assert not resp["success"] and "decode failed" in resp["errmsg"]
@pytest.mark.xfail(strict=True)
def test_hook_crash(node_factory, executor, bitcoind):
"""Verify that we fail over if a plugin crashes while handling a hook.