forked from mtusi2026/mtusi2026lab4
docs: add lab4 report and evidence
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Публичные проверки через LB; разные реплики обслуживают одну сессию
|
||||
# date: 2026-11-05T13:58:22Z
|
||||
# commit: f8e41b1
|
||||
|
||||
$ make check
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
|
||||
$ make test
|
||||
python3 tests/smoke.py --base-url "http://lb:8080"
|
||||
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
||||
|
||||
$ sh -c docker compose ps -q api | cut -c1-12
|
||||
bb4424f819bb
|
||||
0900a35b199d
|
||||
|
||||
$ python3 scripts/probe.py instances 6
|
||||
register -> 201
|
||||
login -> 201 expires_at: 2026-11-05T14:58:32.678Z
|
||||
GET /api/v1/users/me -> 200 X-Instance-Id: 0900a35b199d
|
||||
GET /api/v1/users/me -> 200 X-Instance-Id: bb4424f819bb
|
||||
GET /api/v1/users/me -> 200 X-Instance-Id: 0900a35b199d
|
||||
GET /api/v1/users/me -> 200 X-Instance-Id: bb4424f819bb
|
||||
GET /api/v1/users/me -> 200 X-Instance-Id: 0900a35b199d
|
||||
GET /api/v1/users/me -> 200 X-Instance-Id: bb4424f819bb
|
||||
|
||||
Reference in New Issue
Block a user