Files
mtusi2026lab3/evidence/smoke.txt
T

27 lines
983 B
Plaintext

# Публичные проверки через LB; разные реплики обслуживают одну сессию
# date: 2026-11-01T14:24:16Z
# commit: 210ff67 (dirty)
$ 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: lab3 public API scenario; infrastructure and grading evidence remain separate.
$ sh -c docker compose ps -q api | cut -c1-12
2701b0d53e0f
75ad096eed0a
$ python3 scripts/probe.py instances 6
register -> 201
login -> 201 expires_at: 2026-11-01T15:24:18.673Z
GET /api/v1/users/me -> 200 X-Instance-Id: 75ad096eed0a
GET /api/v1/users/me -> 200 X-Instance-Id: 2701b0d53e0f
GET /api/v1/users/me -> 200 X-Instance-Id: 75ad096eed0a
GET /api/v1/users/me -> 200 X-Instance-Id: 2701b0d53e0f
GET /api/v1/users/me -> 200 X-Instance-Id: 75ad096eed0a
GET /api/v1/users/me -> 200 X-Instance-Id: 2701b0d53e0f