Skip to content

Commit 3f211d1

Browse files
committed
fixed warnings
1 parent b807ebf commit 3f211d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/director-v2/tests/unit/with_dbs/comp_scheduler/test_scheduler_dask.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,9 @@ async def _return_random_task_result(job_id) -> TaskOutputData:
16061606
@pytest.fixture
16071607
def with_fast_service_heartbeat_s(monkeypatch: pytest.MonkeyPatch) -> int:
16081608
seconds = 1
1609-
monkeypatch.setenv("SERVICE_TRACKING_HEARTBEAT", f"{seconds}")
1609+
monkeypatch.setenv(
1610+
"SERVICE_TRACKING_HEARTBEAT", f"{datetime.timedelta(seconds=seconds)}"
1611+
)
16101612
return seconds
16111613

16121614

0 commit comments

Comments
 (0)