forked from mtusi2026/mtusi2026lab4
4: исправление по ревью — проверка смысла чанков PNG (палитра, tRNS, порядок, текст), регрессионные тесты, evidence
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# failures: Redis and PostgreSQL outages via the balancer
|
||||
# date: 2026-10-21 21:11:20, commit: 2dbed80 + uncommitted changes
|
||||
# date: 2026-10-22 14:24:54, commit: c942c61 + uncommitted changes
|
||||
# command: python.exe student-tests/test_failures.py
|
||||
# exit code: 0, 55.6 s
|
||||
|
||||
stopping redis
|
||||
/health/live -> 200, /health/ready -> 503 (8016 ms)
|
||||
valid token: GET /users/me -> 503 unavailable (8000 ms), session cannot be checked
|
||||
/health/live -> 200, /health/ready -> 503 (8000 ms)
|
||||
valid token: GET /users/me -> 503 unavailable (8031 ms), session cannot be checked
|
||||
unknown token -> 503, not 200: nobody is trusted without a check
|
||||
no token -> 401
|
||||
login -> 503: there is nowhere to store the session
|
||||
@@ -19,7 +19,7 @@ starting redis
|
||||
after start: the session issued before the crash still works (AOF, appendfsync always)
|
||||
PASS: sessions survive a Redis crash, not only a clean restart
|
||||
stopping postgres
|
||||
/health/live -> 200, /health/ready -> 503 (1016 ms)
|
||||
/health/live -> 200, /health/ready -> 503 (1031 ms)
|
||||
valid token: users/me, chats, history, new message -> 503 unavailable, no details
|
||||
no token -> 401, unknown token -> 401: anonymous users are not let in
|
||||
login -> 503, registration -> 503
|
||||
|
||||
Reference in New Issue
Block a user