mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
plugin: sort topological candidates by specified order.
We previously registered hooks up in who-replies-to-getmanifest-first order, but then if any had dependencies it would scatter that order. This allows users to manually set dependencies developers have forgotten by specifying the plugins manually in their configuration or cmdline. This was an excellent consideration by @mschmook. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
d429e21db3
commit
fb295ffb51
@@ -2118,7 +2118,6 @@ def test_hook_dep(node_factory):
|
||||
assert not l1.daemon.is_in_log("unknown plugin (?!dep_a.py)")
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_hook_dep_stable(node_factory):
|
||||
# Load in order A, D, E, B.
|
||||
# A says it has to be before B, D says it has to be before E.
|
||||
|
||||
Reference in New Issue
Block a user