Skip to content

Commit

Permalink
add large test as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Jul 26, 2023
1 parent ea7d8e0 commit 43d26b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions distributed/deploy/tests/test_adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,3 +497,9 @@ async def test_scale_up_large_tasks(c, s):
await asyncio.sleep(0.001)

assert s.adaptive_target() == 10

more_futures = c.map(slowinc, range(200))
while len(s.tasks) != 200:
await asyncio.sleep(0.001)

assert s.adaptive_target() == 200

0 comments on commit 43d26b3

Please sign in to comment.