Skip to content

Commit

Permalink
pytest: catch more broken messages in test_important_plugins.
Browse files Browse the repository at this point in the history
This can happen, so allow them.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed May 9, 2024
1 parent c328067 commit ec47d04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec47d04

Please sign in to comment.