Skip to content

Commit

Permalink
leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Aug 9, 2023
1 parent eb922ec commit 73e75e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion distributed/tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3617,7 +3617,6 @@ async def test_execute_preamble_abort_retirement(c, s):
"""
async with BlockedExecute(s.address) as a:
await c.wait_for_workers(1)
a.block_deserialize_task.set() # Uninteresting in this test

x = await c.scatter({"x": 1}, workers=[a.address])
y = c.submit(inc, 1, key="y", workers=[a.address])
Expand Down
4 changes: 0 additions & 4 deletions distributed/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2253,10 +2253,6 @@ class BlockedExecute(Worker):
method and then does not proceed, thus leaving the task in executing state
indefinitely, until the test sets `block_execute`.
After that, the worker sets `in_deserialize_task` to simulate the moment when a
large run_spec is being deserialized in a separate thread. The worker will block
again until the test sets `block_deserialize_task`.
Finally, the worker sets `in_execute_exit` when execute() terminates, but before the
worker state has processed its exit callback. The worker will block one last time
until the test sets `block_execute_exit`.
Expand Down

0 comments on commit 73e75e5

Please sign in to comment.