Skip to content

Commit

Permalink
use port 0 for the api port
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Nov 4, 2024
1 parent d0acd0c commit fda9029
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chia/_tests/core/services/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ async def test_services_terminate(
if service_config_name == "timelord":
api_port_group = api_port_group["vdf_server"]
if "port" in api_port_group:
port = find_available_listen_port(name="service")
api_port_group["port"] = port
api_port_group["port"] = 0
rpc_port = find_available_listen_port(name="rpc")
service_config["rpc_port"] = rpc_port
save_config(root_path=chia_root.path, filename="config.yaml", config_data=config)
Expand Down

0 comments on commit fda9029

Please sign in to comment.