Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait committed Jun 26, 2024
1 parent 034b8ff commit f5c824c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/tests/test_worker_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ async def test_task_state_instance_are_garbage_collected(c, s, a, b):
f2 = c.submit(inc, red, pure=False)

async def check(dask_worker):
while dask_worker.tasks:
while dask_worker.state.tasks:
await asyncio.sleep(0.01)
with profile.lock:
gc.collect()
Expand Down

0 comments on commit f5c824c

Please sign in to comment.