Выполнение ЛР5 на 5 (трек 2)

This commit is contained in:
Ilya
2026-11-11 19:09:08 +03:00
parent 276dbdad8a
commit 9de64e36b2
58 changed files with 5132 additions and 30 deletions
+33
View File
@@ -0,0 +1,33 @@
# persistence: restart API, worker, relay and all stores (postgres, valkey, s3, rabbitmq) with volumes
# date: 2026-11-10T13:47:05Z
# command: make test-persistence ACTION_SCRIPT=scripts/restart.sh ; hook output below is from a separate run
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
## hook run separately to show container states before/after:
NAME STATUS
messenger-lab5-api-1 Up 5 seconds (healthy)
messenger-lab5-api-2 Up 6 seconds (healthy)
messenger-lab5-lb-1 Up 5 seconds (healthy)
messenger-lab5-ops-1 Up 38 seconds (healthy)
messenger-lab5-postgres-1 Up 41 seconds (healthy)
messenger-lab5-rabbitmq-1 Up 41 seconds (healthy)
messenger-lab5-relay-1 Up 35 seconds (healthy)
messenger-lab5-s3-1 Up 41 seconds (healthy)
messenger-lab5-sweeper-1 Up 6 seconds (healthy)
messenger-lab5-valkey-1 Up 41 seconds (healthy)
messenger-lab5-worker-1 Up 6 seconds (healthy)
NAME STATUS
messenger-lab5-api-1 Up 5 seconds (healthy)
messenger-lab5-api-2 Up 5 seconds (healthy)
messenger-lab5-lb-1 Up 5 seconds (healthy)
messenger-lab5-ops-1 Up 37 seconds (healthy)
messenger-lab5-postgres-1 Up 41 seconds (healthy)
messenger-lab5-rabbitmq-1 Up 41 seconds (healthy)
messenger-lab5-relay-1 Up 35 seconds (healthy)
messenger-lab5-s3-1 Up 41 seconds (healthy)
messenger-lab5-sweeper-1 Up 5 seconds (healthy)
messenger-lab5-valkey-1 Up 41 seconds (healthy)
messenger-lab5-worker-1 Up 5 seconds (healthy)