Skip to content

Commit 88d43e4

Browse files
author
Andrei Neagu
committed
fixed test
1 parent 8a22850 commit 88d43e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ 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", host=get_localhost_ip(), port=int(dask_scheduler_api_port)
3232
)
33+
return f"{url}"
3334

3435

3536
@pytest.fixture

0 commit comments

Comments
 (0)