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

Function wait_for_grpc_start

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

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

(node)

Source from the content-addressed store, hash-verified

19
20
21def wait_for_grpc_start(node):
22 """This can happen before "public key" which start() swallows"""
23 wait_for(lambda: node.daemon.is_in_log(r'serving grpc'))
24
25
26@pytest.mark.parametrize("old_hsmsecret,expected_node_id", [

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