forked from mtusi2026/mtusi2026lab3
ЛР3 на 4: HAProxy, реплики API, Idempotency-Key и failover.
Общие Redis-сессии и Postgres, X-Instance-Id, REPORT и DEFENSE.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
=== 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.
|
||||
Reference in New Issue
Block a user