Lab 3: HAProxy + 2 replicas, idempotency, graceful shutdown, track 1

This commit is contained in:
2026-11-16 21:48:11 +03:00
parent 0ab3a341aa
commit a3ac20d017
107 changed files with 24088 additions and 15 deletions
+8
View File
@@ -0,0 +1,8 @@
# 2026-11-03T09:51:21Z commit=n/a host=Linux 6.18.44-fc-v230 x86_64 cpus=2
$ python3 student-tests/test_expiry.py
## session expiry, SESSION_TTL_SECONDS=2 (http://127.0.0.1:8081)
PASS expires_at = now + SESSION_TTL_SECONDS 1.20s remaining 2.00s
PASS token valid before expiry, 401 Bearer after (cache warmed) 4.52s
PASS re-login after expiry issues a new valid session 4.82s
summary: 3 passed, 0 failed
exit=0