Завершить уровень 4: проверить отказы, поочерёдную замену и ограничить ожидания кэша

This commit is contained in:
2026-10-23 19:09:56 +03:00
parent bdcf00a412
commit d30f418cec
33 changed files with 1962 additions and 40 deletions
+1 -5
View File
@@ -1,7 +1,3 @@
'test' is not recognized as an internal or external command,
operable program or batch file.
"Set ACTION_SCRIPT to your implemented executable stop-one hook"; exit 2
python tests/resilience.py --mode failover --action-script "scripts/stop-one.cmd" --base-url "http://localhost:8080"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 89, "failed_attempts": 4, "first_recovery_seconds": 3.114}
{"observed_instances_before": 2, "successful_writes": 93, "failed_attempts": 3, "first_recovery_seconds": 2.875}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.