Files
mtusi2026lab2/evidence/persistence.txt
T

22 lines
1.2 KiB
Plaintext

docker compose ps -a --format "table {{.Service}}\t{{.ID}}\t{{.Status}}"
SERVICE CONTAINER ID STATUS
api 5d506a14e681 Up About a minute (healthy)
api-short-ttl 6e433cfb380a Up 9 seconds (healthy)
postgres 094d2f567e2e Up 22 seconds (healthy)
valkey 195f4a7b30f1 Up 44 seconds (healthy)
python tests/resilience.py --mode persistence --action-script "scripts/restart.cmd" --base-url "http://127.0.0.1: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.
real 0m10.093s
user 0m0.031s
sys 0m0.000s
docker compose ps -a --format "table {{.Service}}\t{{.ID}}\t{{.Status}}"
SERVICE CONTAINER ID STATUS
api 5d506a14e681 Up 2 seconds (health: starting)
api-short-ttl 6e433cfb380a Up 20 seconds (healthy)
postgres 094d2f567e2e Up 7 seconds (healthy)
valkey 195f4a7b30f1 Up 7 seconds (healthy)
api-1 | 2026-10-09 21:17:33,062 INFO messenger.db: Миграции: новых нет, схема актуальна
api-1 | 2026-10-09 21:19:16,340 INFO messenger.db: Миграции: новых нет, схема актуальна