File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/director-v2/tests/unit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -737,10 +737,10 @@ def fake_remote_fct(
737737 with pytest .raises (TaskCancelledError ):
738738 await dask_client .get_task_result (published_computation_task [0 ].job_id )
739739
740- await asyncio .sleep (5 )
741740 await dask_client .release_task_result (published_computation_task [0 ].job_id )
742741 # after releasing the results, the task shall be UNKNOWN
743-
742+ _ALLOW_TIME_FOR_LOCAL_DASK_SCHEDULER_TO_UPDATE_TIMEOUT_S = 5
743+ await asyncio .sleep (_ALLOW_TIME_FOR_LOCAL_DASK_SCHEDULER_TO_UPDATE_TIMEOUT_S )
744744 # NOTE: this change of status takes a very long time to happen and is not relied upon so we skip it since it
745745 # makes the test fail a lot for no gain (it's kept here in case it ever becomes an issue)
746746 await _assert_wait_for_task_status (
You can’t perform that action at this time.
0 commit comments