Skip to content

Commit

Permalink
tests: disable cln-grpc in channel state tests
Browse files Browse the repository at this point in the history
plugin seems to cause issues in combination with the test
`misc_notifications.py` plugin
  • Loading branch information
jackstar12 committed Aug 13, 2024
1 parent 84d699e commit 3f88c90
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 3f88c90

Please sign in to comment.