Skip to content

Commit 662b7e1

Browse files
committed
fix
1 parent 42d0860 commit 662b7e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ def joinall(threads):
611611
async def asyncjoinall(tasks):
612612
"""Join tasks with a 5-minute timeout, assert joins succeeded"""
613613
for t in tasks:
614-
await asyncio.wait_for(t, 300)
615-
assert t.done(), "Task %s hung" % t
614+
await asyncio.wait_for(t.task, 300)
615+
assert t.task.done(), "Task %s hung" % t
616616

617617

618618
def wait_until(predicate, success_description, timeout=10):

0 commit comments

Comments
 (0)