Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Jan 17, 2022
1 parent eccd645 commit a26c770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions distributed/tests/test_steal.py
Expand Up @@ -831,6 +831,8 @@ async def test_steal_twice(c, s, a, b):
assert (
len(empty_workers) < 3
), f"Too many workers without keys ({len(empty_workers)} out of {len(s.workers)})"
# This also tests that some tasks were stolen from b
# (see `while len(b.tasks) < 30` above)
assert max(map(len, s.has_what.values())) < 30

assert a.in_flight_tasks == 0
Expand Down

0 comments on commit a26c770

Please sign in to comment.