forked from mtusi2026/mtusi2026lab2
ЛР2: PostgreSQL, сессии, Redis-кэш, трек 5.2
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user