mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 15:40:54 +00:00
Update tests/interop/daemon.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a843514afb
commit
b72c489f4e
@ -30,7 +30,7 @@ async def try_until_success(coro_func, timeout=TIMEOUT_DURATION):
|
|||||||
break
|
break
|
||||||
if (time.monotonic() - t_start) >= timeout:
|
if (time.monotonic() - t_start) >= timeout:
|
||||||
# timeout
|
# timeout
|
||||||
assert False, f"{coro_func} still failed after `{timeout}` seconds"
|
assert False, f"{coro_func} is still failing after `{timeout}` seconds"
|
||||||
await asyncio.sleep(0.01)
|
await asyncio.sleep(0.01)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user