Files
mtusi2026lab4/evidence/smoke.txt
T

27 lines
975 B
Plaintext

# Публичные проверки через LB; разные реплики обслуживают одну сессию
# date: 2026-11-05T14:57:16Z
# commit: 487da7d
$ 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
f66e82a1b6ff
f1c1c6ae7312
$ python3 scripts/probe.py instances 6
register -> 201
login -> 201 expires_at: 2026-11-05T15:57:19.502Z
GET /api/v1/users/me -> 200 X-Instance-Id: f1c1c6ae7312
GET /api/v1/users/me -> 200 X-Instance-Id: f66e82a1b6ff
GET /api/v1/users/me -> 200 X-Instance-Id: f1c1c6ae7312
GET /api/v1/users/me -> 200 X-Instance-Id: f66e82a1b6ff
GET /api/v1/users/me -> 200 X-Instance-Id: f1c1c6ae7312
GET /api/v1/users/me -> 200 X-Instance-Id: f66e82a1b6ff