# 2026-10-15T23:10:29Z
--- до: контейнеры
/mtusi-lab2-api-1 started=2026-10-15T23:10:13.308098346Z
/mtusi-lab2-postgres-1 started=2026-10-15T23:08:12.796745137Z
/mtusi-lab2-valkey-1 started=2026-10-15T23:08:12.79643622Z
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
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.
--- после: контейнеры (StartedAt изменился у всех трёх => перезапущены API, PostgreSQL и Valkey)
/mtusi-lab2-api-1 started=2026-10-15T23:10:33.226933382Z
/mtusi-lab2-postgres-1 started=2026-10-15T23:10:31.075516256Z
/mtusi-lab2-valkey-1 started=2026-10-15T23:10:31.076417256Z
--- том pgdata сохранён:
mtusi-lab2_pgdata created=2026-10-12T14:21:10Z
--- логи PostgreSQL о перезапуске:
postgres-1  | 2026-10-15 23:10:30.838 UTC [1] LOG:  database system is shut down
postgres-1  | 2026-10-15 23:10:31.171 UTC [29] LOG:  database system was shut down at 2026-10-15 23:10:30 UTC
postgres-1  | 2026-10-15 23:10:31.174 UTC [1] LOG:  database system is ready to accept connections
--- логи Valkey о перезапуске:
valkey-1  | 1:signal-handler (1792105830) Received SIGTERM scheduling shutdown...
valkey-1  | 1:M 15 Oct 2026 23:10:31.135 * Ready to accept connections tcp
