From 8169f1865a15e880fc4e5cbd7c84cb32c7c2bd37 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Fri, 1 Nov 2024 18:47:36 +0100 Subject: [PATCH] fix --- .../unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/director-v2/tests/unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py b/services/director-v2/tests/unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py index 16c6f5ea553b..5e7c39e89139 100644 --- a/services/director-v2/tests/unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py +++ b/services/director-v2/tests/unit/with_dbs/test_modules_comp_scheduler_dask_scheduler.py @@ -258,7 +258,7 @@ async def test_scheduler_gracefully_starts_and_stops( minimal_app: FastAPI, ): # check it started correctly - assert minimal_app.state.scheduler_task is not None + assert minimal_app.state.computational_scheduler_task is not None @pytest.mark.parametrize(