lab2: fix cache revocation, DB timeouts, add failure tests

This commit is contained in:
2026-10-03 12:12:45 +03:00
parent c69143c215
commit ead398e9ba
12 changed files with 477 additions and 77 deletions
+10
View File
@@ -0,0 +1,10 @@
Container mtusi2026lab2-cache-1 Stopping
Container mtusi2026lab2-cache-1 Stopped
Container mtusi2026lab2-cache-1 Starting
Container mtusi2026lab2-cache-1 Started
Container mtusi2026lab2-api-1 Restarting
Container mtusi2026lab2-api-1 Started
PASS: API works with Valkey down (degraded mode)
PASS: logout with cache down returned 204
PASS: revoked token rejected while cache down
PASS: revoked token still 401 after cache restart (regression fixed)