Skip to content

Commit

Permalink
fix test_unpack_is_non_rootish
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Dec 22, 2023
1 parent 2140f88 commit 570af51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distributed/shuffle/tests/test_shuffle.py
Expand Up @@ -2486,10 +2486,12 @@ def __init__(self, scheduler: Scheduler):
self.in_barrier = asyncio.Event()
self.block_barrier = asyncio.Event()

async def barrier(self, id: ShuffleId, run_id: int, consistent: bool) -> None:
async def barrier(
self, id: ShuffleId, run_id: int, consistent: bool, worker: None
) -> None:
self.in_barrier.set()
await self.block_barrier.wait()
return await super().barrier(id, run_id, consistent)
return await super().barrier(id, run_id, consistent, worker)


@gen_cluster(client=True)
Expand Down

0 comments on commit 570af51

Please sign in to comment.