forked from mtusi2026/mtusi2026lab5
ЛР 5 — БВТ2302 — Лебедев — на 5
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 2026-11-21T15:24:22Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
|
||||
$ dc run --rm --no-deps -T -v /home/claude/work5/mtusi2026lab5/student-tests:/app/student-tests:ro --entrypoint python api student-tests/test_cache_race.py
|
||||
Container mtusi-lab5-api-run-2e97b94809c6 Creating
|
||||
Container mtusi-lab5-api-run-2e97b94809c6 Created
|
||||
PASS read-through put makes entry readable
|
||||
PASS entry TTL capped by SESSION_CACHE_TTL_SECONDS pttl=59999ms
|
||||
PASS invalidate removes entry
|
||||
PASS late put after logout is refused by tombstone
|
||||
PASS tombstone outlives any cache entry pttl=74999ms
|
||||
PASS entry never outlives session expiry pttl=1199ms
|
||||
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