ЛР5 - БВТ2302 - Зюлина - на 3
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Дата проверок: 2026-11-19.
|
||||
|
||||
Команды и результат:
|
||||
- scripts/check_contract.py — PASS: offline skeleton structure and local refs.
|
||||
- python -m compileall -q src alembic scripts student-tests — PASS, exit 0.
|
||||
- docker compose --env-file .env config --quiet — PASS, exit 0.
|
||||
- docker compose up -d — PASS; API replicas healthy, Redis Streams broker healthy, MinIO healthy; GET /health/ready returned 200.
|
||||
- tests/smoke.py --base-url http://localhost:8080 — PASS: lab5 public API scenario including attachment processing, original checksum, thumbnail JPEG dimensions/checksum, ACL and logout.
|
||||
- tests/resilience.py --mode persistence --action-script scripts/restart.bat — PASS: confirmed data and existing session preserved after restarting the API and persistent stores.
|
||||
- tests/resilience.py --mode failover --action-script scripts/stop-one.bat — PASS: 2 API instances observed, 99 successful writes, 0 failed attempts, first recovery 1.812 seconds.
|
||||
- student-tests/worker_recovery.py — PASS: upload remained queued while the worker was stopped; its message reference and durable Stream job survived API/broker restart; after worker restart the original bytes and JPEG thumbnail were ready and checksummed.
|
||||
|
||||
All tests use synthetic users and images. Container lifecycle evidence is stored in persistence-actions.txt and failover-actions.txt. No credentials or session tokens are included.
|
||||
Reference in New Issue
Block a user