diff --git a/connectivity_tester/app.py b/connectivity_tester/app.py index e34c6e3..6803c2b 100644 --- a/connectivity_tester/app.py +++ b/connectivity_tester/app.py @@ -247,14 +247,15 @@ async def main() -> int: ] LOG.info("--- round begin, attaching to %s (%d endpoints) ---", net_name, len(eps_in_map)) - _attach(client, self_container, net) + attached = _attach(client, self_container, net) try: reachable, unreachable = await _check_network( net_name, eps_in_map, timeout) _cross_validate(net_name, eps_in_map, reachable, unreachable, global_set) finally: - _detach(client, self_container, net) + if attached: + _detach(client, self_container, net) LOG.info("--- round end on %s ---", net_name) LOG.info("--- public checks (%d endpoints) ---", diff --git a/connectivity_tester/network_map.py b/connectivity_tester/network_map.py index fe57539..ee7c5ee 100644 --- a/connectivity_tester/network_map.py +++ b/connectivity_tester/network_map.py @@ -73,9 +73,7 @@ NETWORK_MAP: Dict[str, List[Endpoint]] = { "docker_socket_proxy_hermes_proxy": [ Endpoint("hermes-gateway", 8000), ], - "connectivity_tester_default": [ - Endpoint("connectivity-tester", 8765), - ], + "connectivity_tester_default": [], "brencher_brencher-net": [ Endpoint("brencher-backend", 5000), ],