fix(tests): reduce TTL durations to improve test reliability

- Adjusted TTL durations and sleep intervals across memory and cache tests for consistent expiration behavior.
- Prevented test flakiness caused by timing discrepancies in token expiration and cache cleanup.
This commit is contained in:
2026-01-05 18:29:02 +01:00
parent da85a8aba8
commit d0f32d04f7
5 changed files with 24 additions and 20 deletions

View File

@@ -18,7 +18,10 @@ from sqlalchemy import (
Text,
text,
)
from sqlalchemy.dialects.postgresql import JSONB, UUID as PGUUID
from sqlalchemy.dialects.postgresql import (
JSONB,
UUID as PGUUID,
)
from sqlalchemy.orm import relationship
from app.models.base import Base, TimestampMixin, UUIDMixin