Skip to content

Commit fe53763

Browse files
revert time
1 parent 8421102 commit fe53763

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/web/server/tests/unit/isolated/test_diagnostics_healthcheck.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import json
99
import logging
1010
from collections.abc import Callable, Coroutine
11+
import time
1112

1213
import pytest
1314
import simcore_service_webserver
@@ -121,7 +122,7 @@ async def expected_failure(request: web.Request):
121122

122123
@routes.get(r"/slow")
123124
async def blocking_slow(request: web.Request):
124-
await asyncio.sleep(SLOW_HANDLER_DELAY_SECS * 1.1)
125+
time.sleep(SLOW_HANDLER_DELAY_SECS * 1.1)
125126
return web.json_response({"data": True, "error": None})
126127

127128
@routes.get(r"/cancel")

0 commit comments

Comments
 (0)