From ec47d04a7c30a5980a6b0fe2ff4a0b6d9134372f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 23 Apr 2024 19:45:23 +0930 Subject: [PATCH] pytest: catch more broken messages in test_important_plugins. This can happen, so allow them. Signed-off-by: Rusty Russell --- tests/test_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 1b80dc82d156..16c9bd93110f 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -2191,7 +2191,8 @@ 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, - broken_log='Plugin marked as important, shutting down lightningd', + # Other plugins can complain as lightningd stops suddenly: + broken_log='Plugin marked as important, shutting down lightningd|Reading JSON input: Connection reset by peer', start=False) n.daemon.start(wait_for_initialized=False, stderr_redir=True)