We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b807ebf commit 3f211d1Copy full SHA for 3f211d1
services/director-v2/tests/unit/with_dbs/comp_scheduler/test_scheduler_dask.py
@@ -1606,7 +1606,9 @@ async def _return_random_task_result(job_id) -> TaskOutputData:
1606
@pytest.fixture
1607
def with_fast_service_heartbeat_s(monkeypatch: pytest.MonkeyPatch) -> int:
1608
seconds = 1
1609
- monkeypatch.setenv("SERVICE_TRACKING_HEARTBEAT", f"{seconds}")
+ monkeypatch.setenv(
1610
+ "SERVICE_TRACKING_HEARTBEAT", f"{datetime.timedelta(seconds=seconds)}"
1611
+ )
1612
return seconds
1613
1614
0 commit comments