@@ -865,8 +865,6 @@ def __init__(
865865 self .prometheus_remote_read_handlers = []
866866
867867 self ._ytsaurus_port = None
868- self ._ytsaurus_internal_ports_list = None
869- self .ytsaurus_internal_ports_list_size = 20
870868
871869 self .docker_client : docker .DockerClient = None
872870 self .is_up = False
@@ -987,14 +985,6 @@ def ytsaurus_port(self):
987985 self ._ytsaurus_port = self .port_pool .get_port ()
988986 return self ._ytsaurus_port
989987
990- @property
991- def ytsaurus_internal_ports_list (self ):
992- if not self ._ytsaurus_internal_ports_list :
993- self ._ytsaurus_internal_ports_list = []
994- for _ in range (self .ytsaurus_internal_ports_list_size ):
995- self ._ytsaurus_internal_ports_list .append (self .port_pool .get_port ())
996- return self ._ytsaurus_internal_ports_list
997-
998988 def print_all_docker_pieces (self ):
999989 res_networks = subprocess .check_output (
1000990 f"docker network ls --filter name='{ self .project_name } *'" ,
@@ -1763,9 +1753,6 @@ def setup_hive(self, instance, env_variables, docker_compose_yml_dir):
17631753 def setup_ytsaurus (self , instance , env_variables , docker_compose_yml_dir ):
17641754 self .with_ytsaurus = True
17651755 env_variables ["YTSAURUS_PROXY_PORT" ] = str (self .ytsaurus_port )
1766- env_variables ["YTSAURUS_INTERNAL_PORTS_LIST" ] = " " .join (
1767- str (port ) for port in self .ytsaurus_internal_ports_list
1768- )
17691756
17701757 self .base_cmd .extend (
17711758 ["--file" , p .join (docker_compose_yml_dir , "docker_compose_ytsaurus.yml" )]
0 commit comments