forked from mtusi2026/mtusi2026lab2
Фиксирует результаты уровня 3/4 и трека 2: публичный smoke, black-box, persistence/expiry/outage, контейнерные проверки, SQL/rollback/EXPLAIN, 100k-эксперимент с индексами и backup/restore, чистый clone.
68 lines
2.2 KiB
Plaintext
68 lines
2.2 KiB
Plaintext
# final verification at 6ea767732e2cf43dbadba6be36186c9ab1bd0a19 (2026-11-30T20:53:41Z)
|
|
## make check
|
|
/usr/bin/python3 scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
## make test
|
|
/usr/bin/python3 tests/smoke.py --base-url "http://localhost:8080"
|
|
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
|
## make test-student
|
|
go test -count=1 ./...
|
|
? mtusi.ru/messenger-lab2/cmd/messenger [no test files]
|
|
ok mtusi.ru/messenger-lab2/internal/api 0.716s
|
|
ok mtusi.ru/messenger-lab2/internal/auth 0.598s
|
|
ok mtusi.ru/messenger-lab2/internal/config 0.244s
|
|
ok mtusi.ru/messenger-lab2/internal/cursor 0.131s
|
|
ok mtusi.ru/messenger-lab2/internal/model 0.588s
|
|
? mtusi.ru/messenger-lab2/internal/session [no test files]
|
|
ok mtusi.ru/messenger-lab2/internal/store 0.474s
|
|
ok mtusi.ru/messenger-lab2/internal/uuid 0.826s
|
|
/usr/bin/python3 student-tests/blackbox.py --base-url "http://localhost:8080"
|
|
PASS health
|
|
PASS registration/auth
|
|
PASS registration validation
|
|
PASS chats/membership
|
|
PASS messages
|
|
PASS pagination
|
|
PASS concurrent registration
|
|
PASS concurrent messages
|
|
PASS logout
|
|
PASS: lab2 student black-box suite, 78 checks
|
|
## health/readiness
|
|
HTTP/1.1 200 OK
|
|
Content-Type: application/json
|
|
X-Instance-Id: 768a17472e327f41
|
|
X-Request-Id: 912efd83aa8c9d8f0d5b394368f30687
|
|
Date: Mon, 30 Nov 2026 20:53:44 GMT
|
|
Content-Length: 15
|
|
|
|
{"status":"ok"}
|
|
## image
|
|
id=sha256:888fc6451aded79beaabfd2bc2f6578f25324facc84d3798d8b4d074272270bb size=19580930 created=2026-11-30T23:44:18.694178956+03:00
|
|
## data
|
|
users=148
|
|
chats=61
|
|
messages=112335
|
|
migrations=2
|
|
## volumes
|
|
mtusi-lab2-melnikov-pgdata
|
|
mtusi-lab2-melnikov-valkeydata
|
|
## git
|
|
M REPORT.md
|
|
?? MR.md
|
|
?? evidence/.gitkeep
|
|
?? evidence/check-validate-tests.txt
|
|
?? evidence/clean-clone.txt
|
|
?? evidence/container-checks.json
|
|
?? evidence/container-checks.txt
|
|
?? evidence/db-checks.json
|
|
?? evidence/db-checks.txt
|
|
?? evidence/expiry.txt
|
|
?? evidence/explain-level4.txt
|
|
?? evidence/failure-checks.json
|
|
?? evidence/failure-checks.txt
|
|
?? evidence/final-verification.txt
|
|
?? evidence/persistence-restart.txt
|
|
?? evidence/public-and-student-tests.txt
|
|
?? evidence/track5-run.txt
|
|
?? evidence/track5/
|