Searched refs:pick_unused_port (Results 1 – 17 of 17) sorted by relevance
41 def pick_unused_port(): function51 port = portpicker.pick_unused_port()68 port = pick_unused_port()105 port = pick_unused_port()
69 def pick_unused_port(): function78 port = portpicker.pick_unused_port()102 worker_ports = [pick_unused_port() for _ in range(num_workers)]103 ps_ports = [pick_unused_port() for _ in range(num_ps)]111 cluster_dict['evaluator'] = ['localhost:%s' % pick_unused_port()]113 cluster_dict[chief_name] = ['localhost:%s' % pick_unused_port()]423 cluster_spec['chief'] = ['localhost:%s' % pick_unused_port()]426 'localhost:%s' % pick_unused_port() for _ in range(num_workers)430 'localhost:%s' % pick_unused_port() for _ in range(num_ps)433 cluster_spec['evaluator'] = ['localhost:%s' % pick_unused_port()]
434 "localhost:%d" % multi_worker_test_base.pick_unused_port()445 "localhost:%d" % multi_worker_test_base.pick_unused_port()456 "localhost:%d" % multi_worker_test_base.pick_unused_port()467 "localhost:%d" % multi_worker_test_base.pick_unused_port()477 chief_ports = [multi_worker_test_base.pick_unused_port() for _ in range(3)]492 "localhost:%d" % multi_worker_test_base.pick_unused_port()504 "localhost:%d" % multi_worker_test_base.pick_unused_port()
207 cluster_spec[CHIEF] = ["localhost:%s" % portpicker.pick_unused_port()]210 "localhost:%s" % portpicker.pick_unused_port()215 "localhost:%s" % portpicker.pick_unused_port() for _ in range(num_ps)218 cluster_spec[EVALUATOR] = ["localhost:%s" % portpicker.pick_unused_port()]
33 test_port = portpicker.pick_unused_port()44 test_port = portpicker.pick_unused_port()
45 'localhost:%d' % multi_worker_test_base.pick_unused_port()
116 "localhost:%d" % multi_worker_test_base.pick_unused_port()
436 'localhost:%d' % multi_worker_test_base.pick_unused_port()
56 "localhost:%d" % multi_worker_test_base.pick_unused_port()
122 port = portpicker.pick_unused_port()
140 port = portpicker.pick_unused_port()
59 worker_port = portpicker.pick_unused_port()
398 server_port = portpicker.pick_unused_port()
619 def pick_unused_port(): function
234 dispatcher_port = portpicker.pick_unused_port()
69 "localhost:%d" % multi_worker_test_base.pick_unused_port()
3346 worker_ports = [portpicker.pick_unused_port() for _ in range(num_workers)]3347 ps_ports = [portpicker.pick_unused_port() for _ in range(num_ps)]