Files
mtusi2026lab3/evidence/failover-2.txt
T
sxdees 41af01ecad ЛР3 на 4: HAProxy, реплики API, Idempotency-Key и failover.
Общие Redis-сессии и Postgres, X-Instance-Id, REPORT и DEFENSE.
2026-12-01 21:54:37 +03:00

6 lines
436 B
Plaintext

=== test-failover 2 ===
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 116, "failed_attempts": 1, "first_recovery_seconds": 2.45}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.