forked from mtusi2026/mtusi2026lab2
9 lines
472 B
Plaintext
9 lines
472 B
Plaintext
# 2026-10-26T17:32:07Z native stand; Linux 6.18.44-fc-v153 x86_64; nproc=2; mem=8027MiB
|
|
$ python3 student-tests/test_expiry.py
|
|
## session expiry, SESSION_TTL_SECONDS=2 (http://localhost:8081)
|
|
PASS expires_at = now + SESSION_TTL_SECONDS 0.54s remaining 2.00s
|
|
PASS token valid before expiry, 401 Bearer after (cache warmed) 3.59s
|
|
PASS re-login after expiry issues a new valid session 3.79s
|
|
summary: 3 passed, 0 failed
|
|
exit=0
|