Files
mtusi2026lab2/evidence/persistence.log
2026-10-16 05:27:13 +03:00

23 lines
849 B
Plaintext

# 2026-10-16 05:20:20 +0300, commit 65003b6 (+ незакоммиченные изменения)
$ docker compose ps (до)
SERVICE STATUS
api Up 14 minutes (healthy)
cache Up 13 minutes (healthy)
db Up 13 minutes (healthy)
[exit 0]
$ 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.
[exit 0]
$ docker compose ps (после: все три контейнера перезапущены)
SERVICE STATUS
api Up 2 seconds (healthy)
cache Up 6 seconds (healthy)
db Up 5 seconds (healthy)
[exit 0]