Skip to content

Commit 5961c29

Browse files
claudecdecker
authored andcommitted
gl-testing: Disable cln-grpc plugin in test node factory
Disable the cln-grpc plugin for standard CLN test nodes created via node_factory to prevent port conflicts with GL nodes. GL nodes already have cln-grpc disabled in favor of gl-plugin, but standard test nodes (e.g., created via node_factory.line_graph()) were still running cln-grpc, which could cause port collisions during tests. This ensures consistent behavior across all test nodes.
1 parent aec86fd commit 5961c29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/gl-testing/gltesting/network.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def get_node(self, options=None, *args, **kwargs):
2727
options = {}
2828
options["allow-deprecated-apis"] = True
2929
options["developer"] = None
30+
# Disable cln-grpc plugin to avoid port conflicts with GL nodes
31+
options["disable-plugin"] = "cln-grpc"
3032
return NodeFactory.get_node(self, options=options, *args, **kwargs)
3133

3234

0 commit comments

Comments
 (0)