Реализовать Lab 3: балансировка и отказоустойчивость

This commit is contained in:
2026-10-27 22:05:10 +03:00
parent 0ab3a341aa
commit cc51344be3
50 changed files with 1434 additions and 47 deletions
+8
View File
@@ -0,0 +1,8 @@
Date: 2026-10-27
Code under test before squash: a74e32e
Command: make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=http://127.0.0.1:8081 (Ubuntu WSL; tracked POSIX hook)
Output:
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:8081"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
The hook restarted PostgreSQL, Redis, both API replicas and Nginx. Named volumes were retained.