Skip to content

Commit 4b8dc22

Browse files
fix url
1 parent 838bc84 commit 4b8dc22

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/simcore_dask_service.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ async def dask_scheduler_service(
2727
)
2828
# override the port
2929
monkeypatch.setenv("DASK_SCHEDULER_PORT", f"{dask_scheduler_api_port}")
30-
return AnyUrl.build(
31-
scheme="tls", host=get_localhost_ip(), port=dask_scheduler_api_port
30+
url = AnyUrl.build(
31+
scheme="tls",
32+
host=get_localhost_ip(),
33+
port=int(dask_scheduler_api_port),
3234
)
35+
return f"{url}"
3336

3437

3538
@pytest.fixture

0 commit comments

Comments
 (0)