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 a605f2f commit 32043a4Copy full SHA for 32043a4
services/web/server/tests/unit/isolated/test_diagnostics_healthcheck.py
@@ -119,7 +119,7 @@ async def expected_failure(request: web.Request):
119
120
@routes.get(r"/slow")
121
async def blocking_slow(request: web.Request):
122
- time.sleep(SLOW_HANDLER_DELAY_SECS * 1.1)
+ await asyncio.sleep(SLOW_HANDLER_DELAY_SECS * 1.1)
123
return web.json_response({"data": True, "error": None})
124
125
@routes.get(r"/cancel")
0 commit comments