Skip to content

Commit

Permalink
ConnectionPool on 3.11 takes fewer eventloop cycles because it doesn'…
Browse files Browse the repository at this point in the history
…t spawn a new task
  • Loading branch information
graingert committed Aug 15, 2023
1 parent 863e55a commit 7f69e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/tests/test_worker_metrics.py
Expand Up @@ -599,7 +599,7 @@ async def test_new_metrics_during_heartbeat(c, s, a):
a.digest_metric(("execute", span.id, "x", "test", "test"), 1)
await asyncio.sleep(0)
await hb_task
assert n > 10
assert n > 9
await a.heartbeat()

assert a.digests_total["execute", span.id, "x", "test", "test"] == n
Expand Down

0 comments on commit 7f69e5a

Please sign in to comment.