Update tests/interop/daemon.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user