()
| 877 | |
| 878 | |
| 879 | def stack_is_stopped() -> bool: |
| 880 | if is_port_open(APP_PORT, timeout=0.4) or is_port_open(PROXY_PORT, timeout=0.4): |
| 881 | return False |
| 882 | app_ok, _ = http_health(APP_HEALTH_URL, timeout=0.8) |
| 883 | proxy_ok, _ = http_health(PROXY_HEALTH_URL, timeout=0.8) |
| 884 | return not app_ok and not proxy_ok |
| 885 | |
| 886 | |
| 887 | def wait_for_remote_reachable(timeout: float = 8.0) -> bool: |
nothing calls this directly
no test coverage detected