Зафиксировать MR и проверку истечения сессии из lab2

This commit is contained in:
2026-11-13 01:36:09 +03:00
parent 27055b6076
commit 51dae8c44a
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
$ docker compose run --rm -d --no-deps -e SESSION_TTL_SECONDS=2 -p 127.0.0.1:18083:8080 api
$ python3 student-tests/expiry.py --base-url http://localhost:18083
PASS: session expires with TTL=2; expired token cannot read or logout