From 3f88c90f7df1ed78970dffd0ea4238a6a8c4915a Mon Sep 17 00:00:00 2001 From: jackstar12 Date: Tue, 13 Aug 2024 15:52:10 +0200 Subject: [PATCH] tests: disable cln-grpc in channel state tests plugin seems to cause issues in combination with the test `misc_notifications.py` plugin --- tests/test_plugin.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 8a69a763d20c..a7820282835d 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -777,7 +777,7 @@ def test_channel_state_changed_bilateral(node_factory, bitcoind): The misc_notifications.py plugin logs `channel_state_changed` events. """ - opts = {"plugin": os.path.join(os.getcwd(), "tests/plugins/misc_notifications.py")} + opts = {"plugin": os.path.join(os.getcwd(), "tests/plugins/misc_notifications.py"), "disable-plugin": "cln-grpc"} l1, l2 = node_factory.line_graph(2, opts=opts) l1_id = l1.rpc.getinfo()["id"] @@ -943,9 +943,12 @@ def test_channel_state_changed_unilateral(node_factory, bitcoind): The misc_notifications.py plugin logs `channel_state_changed` events. """ - opts = {"plugin": os.path.join(os.getcwd(), "tests/plugins/misc_notifications.py"), - "allow_warning": True, - 'may_reconnect': True} + opts = { + "plugin": os.path.join(os.getcwd(), "tests/plugins/misc_notifications.py"), + "disable-plugin": "cln-grpc", + "allow_warning": True, + "may_reconnect": True, + } l1, l2 = node_factory.line_graph(2, opts=opts)