MCPcopy Create free account
hub / github.com/ElementsProject/lightning / wait_for_grpc_start

Function wait_for_grpc_start

tests/test_cln_rs.py:19–21  ·  view source on GitHub ↗

This can happen before "public key" which start() swallows

(node)

Source from the content-addressed store, hash-verified

17
18
19def wait_for_grpc_start(node):
20 """This can happen before "public key" which start() swallows"""
21 wait_for(lambda: node.daemon.is_in_log(r'serving grpc on 0.0.0.0:'))
22
23
24def test_rpc_client(node_factory):

Callers 2

test_grpc_connectFunction · 0.85
test_grpc_wrong_authFunction · 0.85

Calls 2

wait_forFunction · 0.90
is_in_logMethod · 0.80

Tested by

no test coverage detected