Files
mtusi2026lab2/evidence/test-cache-race.txt

14 lines
585 B
Plaintext

# 2026-10-26T17:35:09Z native stand, Redis v=7.0.15
$ CACHE_URL_FILE=... python student-tests/test_cache_race.py
PASS read-through put makes entry readable
PASS entry TTL capped by SESSION_CACHE_TTL_SECONDS pttl=60000ms
PASS invalidate removes entry
PASS late put after logout is refused by tombstone
PASS tombstone outlives any cache entry pttl=75000ms
PASS entry never outlives session expiry pttl=1198ms
PASS expired session not served from cache
cache unavailable; falling back to PostgreSQL
PASS degraded mode: cache is not read until outbox drained
summary: all passed
exit=0