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 cb03af2 commit 200a23bCopy full SHA for 200a23b
tests/conftest.py
@@ -84,6 +84,8 @@ def client(redis_url):
84
@pytest.fixture(autouse=True)
85
async def clear_redis(redis_url: str) -> None:
86
"""Clear Redis before each test."""
87
+ # Add a small delay to allow container to stabilize between tests
88
+ await asyncio.sleep(0.1)
89
try:
90
client = Redis.from_url(redis_url)
91
await client.flushall()
0 commit comments