Skip to content

Commit

Permalink
Add timeout in seconds to exc message
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Oct 21, 2021
1 parent 5d1dedb commit 4aeeeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/utils_test.py
Expand Up @@ -981,7 +981,7 @@ async def coro():
while not task.cancelled():
await asyncio.sleep(0.01)
raise TimeoutError(
f"Test timeout.\n{buffer.getvalue()}"
f"Test timeout after {timeout}s.\n{buffer.getvalue()}"
) from None
finally:
if client and c.status not in ("closing", "closed"):
Expand Down

0 comments on commit 4aeeeaa

Please sign in to comment.