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 8421102 commit fe53763Copy full SHA for fe53763
services/web/server/tests/unit/isolated/test_diagnostics_healthcheck.py
@@ -8,6 +8,7 @@
8
import json
9
import logging
10
from collections.abc import Callable, Coroutine
11
+import time
12
13
import pytest
14
import simcore_service_webserver
@@ -121,7 +122,7 @@ async def expected_failure(request: web.Request):
121
122
123
@routes.get(r"/slow")
124
async def blocking_slow(request: web.Request):
- await asyncio.sleep(SLOW_HANDLER_DELAY_SECS * 1.1)
125
+ time.sleep(SLOW_HANDLER_DELAY_SECS * 1.1)
126
return web.json_response({"data": True, "error": None})
127
128
@routes.get(r"/cancel")
0 commit comments