forked from mtusi2026/mtusi2026lab3
Lab 3: HAProxy + 2 replicas, idempotency, graceful shutdown, track 1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user