We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d0860 commit 662b7e1Copy full SHA for 662b7e1
test/utils.py
@@ -611,8 +611,8 @@ def joinall(threads):
611
async def asyncjoinall(tasks):
612
"""Join tasks with a 5-minute timeout, assert joins succeeded"""
613
for t in tasks:
614
- await asyncio.wait_for(t, 300)
615
- assert t.done(), "Task %s hung" % t
+ await asyncio.wait_for(t.task, 300)
+ assert t.task.done(), "Task %s hung" % t
616
617
618
def wait_until(predicate, success_description, timeout=10):
0 commit comments