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 50d10cf commit 98f44d3Copy full SHA for 98f44d3
tests/conftest.py
@@ -77,7 +77,7 @@ def client(redis_url):
77
async def clear_redis(redis_url: str) -> None:
78
"""Clear Redis before each test."""
79
# Add a small delay to allow container to stabilize between tests
80
- time.sleep(0.1)
+ await asyncio.sleep(0.1)
81
try:
82
client = Redis.from_url(redis_url, socket_connect_timeout=5)
83
await client.flushall()
0 commit comments