Уточнить доказательства финальных проверок

This commit is contained in:
2026-10-27 21:54:52 +03:00
parent a74e32e2e7
commit 9531c3e635
8 changed files with 26 additions and 20 deletions
+7 -7
View File
@@ -1,9 +1,9 @@
Date: 2026-10-27
Code under test: d942679
Scenario: public tests/resilience.py failover mode. The selected X-Instance-Id was mapped to one API container and stopped; the 15-second test loop then sent writes through the LB using the same session.
Aggregate stdout:
observed_instances_before=2
successful_writes=108
failed_attempts=1
first_recovery_seconds=3.312
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
Command: make test-failover ACTION_SCRIPT=scripts/stop-one.sh BASE_URL=http://127.0.0.1:8081 (Ubuntu WSL; tracked POSIX hook)
Output:
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://127.0.0.1:8081"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 140, "failed_attempts": 0, "first_recovery_seconds": 0.673}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
The test stopped the selected API container; the stopped replica was restored after the check.