From ffb8d860cc1b8a5fae8f066aed5deecbbdee9ecb Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 18 Feb 2026 14:47:29 +1030 Subject: [PATCH] pytest: fix flake in test_important_plugin node failure. xpay can get upset if askrene goes away first: lightningd-1 2026-02-18T02:47:44.908Z **BROKEN** plugin-cln-xpay: askrene-create-layer failed with {"code":-32601,"message":"Unknown command 'askrene-create-layer'"} Signed-off-by: Rusty Russell --- tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index a5b258487..d2eeee1b2 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -2455,7 +2455,7 @@ def test_important_plugin(node_factory): n = node_factory.get_node(options={"important-plugin": os.path.join(pluginsdir, "nonexistent")}, may_fail=True, expect_fail=True, # Other plugins can complain as lightningd stops suddenly: - broken_log='Plugin marked as important, shutting down lightningd|Reading sync lightningd: Connection reset by peer|Lost connection to the RPC socket|Plugin terminated before replying to RPC call', + broken_log='Plugin marked as important, shutting down lightningd|Reading sync lightningd: Connection reset by peer|Lost connection to the RPC socket|Plugin terminated before replying to RPC call|plugin-cln-xpay: askrene-create-layer failed with.*Unkown command', start=False) n.daemon.start(wait_for_initialized=False, stderr_redir=True)