Skip to content

Commit 327112e

Browse files
committed
fixup: fix issues with new testcontainers
Signed-off-by: Simon Schrottner <[email protected]>
1 parent c93ed9b commit 327112e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

providers/openfeature-provider-flagd/tests/e2e/flagd_container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def start(self) -> "FlagdContainer":
4848
return self
4949

5050
@wait_container_is_ready(ConnectionError)
51-
def _checker(self, host: str, port: str) -> None:
51+
def _checker(self, host: str, port: int) -> None:
5252
# First we wait for Flagd to say it's listening
5353
wait_for_logs(
5454
self,
@@ -58,7 +58,7 @@ def _checker(self, host: str, port: str) -> None:
5858

5959
time.sleep(1)
6060
# Second we use the GRPC health check endpoint
61-
with grpc.insecure_channel(host + ":" + port) as channel:
61+
with grpc.insecure_channel(host + ":" + str(port)) as channel:
6262
health_stub = health_pb2_grpc.HealthStub(channel)
6363

6464
def health_check_call(stub: health_pb2_grpc.HealthStub):

0 commit comments

Comments
 (0)