Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/infra/service_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from shutil import copyfileobj
from enum import Enum, auto
import infra.concurrency
import infra.interfaces
import random
from contextlib import contextmanager

Expand Down Expand Up @@ -50,7 +51,9 @@ class LoadStrategy(Enum):


def make_target_host(target_node):
return f"https://{target_node.get_public_rpc_host()}:{target_node.get_public_rpc_port()}"
return "https://" + infra.interfaces.make_address(
target_node.get_public_rpc_host(), target_node.get_public_rpc_port()
)


class LoadClient:
Expand Down