Files
mtusi2026lab3/evidence/runtime-checks.txt
T

17 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Runtime verification
Test window: 2026-10-27 00:32–00:35 (Europe/Moscow).
Docker Engine 26.1.4; Docker Compose v2.27.1-desktop.1; Python 3.11.5.
Compose topology: Nginx LB, api1, api2, PostgreSQL, Redis. Test data is synthetic; credentials and tokens are not recorded.
- `docker compose --env-file .env config --quiet` — PASS.
- `python scripts/check_contract.py` — PASS.
- `python scripts/validate_openapi.py` — PASS.
- `python -m compileall -q src alembic scripts tests` — PASS.
- `python tests/smoke.py --base-url http://localhost:8080` — PASS via LB.
- `python tests/concurrent_idempotency.py --base-url http://localhost:8080` — PASS: 32 concurrent identical requests produced one Message across 2 API instances; history contains one record.
- `python tests/resilience.py --mode persistence --action-script scripts/restart.bat --base-url http://localhost:8080` — PASS: confirmed data and the existing session survived restart; actual container start times are in `persistence-actions.txt`.
- `python tests/resilience.py --mode failover --action-script scripts/stop-one.bat --base-url http://localhost:8080` — PASS for api2: two instances observed before failure; first recovered write at 3.985 s (≤10-second level-3 requirement); confirmed data and session preserved.
- Restored api2; `/health/ready` via LB and final smoke — PASS.