Update tests/interop/daemon.py

Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
Kevin Mai-Husan Chia 2019-09-04 20:36:42 +08:00 committed by GitHub
parent a843514afb
commit b72c489f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)