forked from mtusi2026/mtusi2026lab2
19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
# make test-persistence: restart.sh перезапускает postgres, redis, api с сохранением volumes
|
||
# date: 2026-10-21T08:43:45Z
|
||
# commit: 1d5c1e0 (dirty)
|
||
|
||
## до
|
||
/messenger-lab2-api-1 running started=2026-10-21T08:39:28.136832991Z
|
||
/messenger-lab2-postgres-1 running started=2026-10-21T08:39:04.138523217Z
|
||
/messenger-lab2-redis-1 running started=2026-10-21T08:39:05.039138259Z
|
||
|
||
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
|
||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://api: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.
|
||
|
||
## после (started изменился у всех трёх контейнеров)
|
||
/messenger-lab2-api-1 running started=2026-10-21T08:43:48.183944928Z
|
||
/messenger-lab2-postgres-1 running started=2026-10-21T08:43:48.313169498Z
|
||
/messenger-lab2-redis-1 running started=2026-10-21T08:43:48.537563303Z
|