Skip to content

Commit 200a23b

Browse files
abrookinsCopilot
andcommitted
Update tests/conftest.py
Co-authored-by: Copilot <[email protected]>
1 parent cb03af2 commit 200a23b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def client(redis_url):
8484
@pytest.fixture(autouse=True)
8585
async def clear_redis(redis_url: str) -> None:
8686
"""Clear Redis before each test."""
87+
# Add a small delay to allow container to stabilize between tests
88+
await asyncio.sleep(0.1)
8789
try:
8890
client = Redis.from_url(redis_url)
8991
await client.flushall()

0 commit comments

Comments
 (0)