ЛР 2: собственные тесты (student_tests), lifecycle и SIGTERM под compose

This commit is contained in:
2026-11-03 11:33:16 +03:00
parent aa1b644585
commit 3feb4a9da3
6 changed files with 810 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
PASS two users created and read two messages: HTTP 201, then HTTP 200
PASS third user cannot read or write the chat: HTTP 404
PASS request logs include IDs and statuses, without message contents
Command: scripts/restart.sh (API + PostgreSQL + Valkey, volumes kept)
PASS after restart: same tokens read the same history
PASS logout revokes only alice's session; bob's session still works
PASS persistent lifecycle: data and sessions survive full restart