MCPcopy Create free account
hub / github.com/cloudflare/cloudflared / wait_tunnel_ready

Function wait_tunnel_ready

component-tests/util.py:159–165  ·  view source on GitHub ↗
(tunnel_url=None, require_min_connections=1, cfd_logs=None)

Source from the content-addressed store, hash-verified

157 return f"https://{hostname}"
158
159def wait_tunnel_ready(tunnel_url=None, require_min_connections=1, cfd_logs=None):
160 try:
161 inner_wait_tunnel_ready(tunnel_url, require_min_connections)
162 except Exception as e:
163 if cfd_logs is not None:
164 _log_cloudflared_logs(cfd_logs)
165 raise e
166
167
168@retry(stop_max_attempt_number=MAX_RETRIES, wait_fixed=BACKOFF_SECS * 1000)

Callers 15

test_post_quantumMethod · 0.90
test_get_host_detailsMethod · 0.90
test_get_metricsMethod · 0.90
test_get_pprof_heapMethod · 0.90
test_quick_tunnelMethod · 0.90
test_quick_tunnel_urlMethod · 0.90
test_tunnel_urlMethod · 0.90

Calls 2

inner_wait_tunnel_readyFunction · 0.85
_log_cloudflared_logsFunction · 0.85

Tested by 15

test_post_quantumMethod · 0.72
test_get_host_detailsMethod · 0.72
test_get_metricsMethod · 0.72
test_get_pprof_heapMethod · 0.72
test_quick_tunnelMethod · 0.72
test_quick_tunnel_urlMethod · 0.72
test_tunnel_urlMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…