# failover with attachment: tests/resilience.py --mode failover --action-script scripts/stop-one.cmd, for each replica
# date: 2026-11-13T11:35:32Z; before run 2 one extra GET /health/live shifts round robin so that the test targets the other replica

## run 1
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 131, "failed_attempts": 0, "first_recovery_seconds": 4.134}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
grigoriev-lab4-api-6 a040ba43e8d1 Up 31 seconds (healthy)
grigoriev-lab4-api-5 d42206b660ea Exited (0) 11 seconds ago
stopped replica: d42206b660ea
restored d42206b660ea

## run 2
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 134, "failed_attempts": 0, "first_recovery_seconds": 4.171}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
grigoriev-lab4-api-6 a040ba43e8d1 Exited (0) 11 seconds ago
grigoriev-lab4-api-5 d42206b660ea Up 28 seconds (healthy)
stopped replica: a040ba43e8d1
restored a040ba43e8d1
