forked from mtusi2026/mtusi2026lab3
ЛР3
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
python student-tests/run_persistence.py
|
||||
hook: scripts/restart.cmd
|
||||
=== containers before
|
||||
SERVICE CONTAINER STATE STARTED AT (UTC)
|
||||
api 4e5560c6d072 running (healthy) 2026-10-14T21:07:35.489
|
||||
api 7740e49a1d8c running (healthy) 2026-10-14T21:07:12.761
|
||||
lb 91c0051bd4c8 running (healthy) 2026-10-14T20:46:51.195
|
||||
migrate 523965b912bb exited 2026-10-14T20:46:48.669
|
||||
postgres 5c16b9b684f2 running (healthy) 2026-10-14T21:05:32.785
|
||||
valkey c74935587700 running (healthy) 2026-10-14T21:05:11.672
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.␍
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
=== containers after (test took 18.5 s: hook + waiting for readiness + data checks)
|
||||
SERVICE CONTAINER STATE STARTED AT (UTC)
|
||||
api 4e5560c6d072 running (healthy) 2026-10-14T21:07:56.102
|
||||
api 7740e49a1d8c running (healthy) 2026-10-14T21:07:56.434
|
||||
lb 91c0051bd4c8 running (healthy) 2026-10-14T21:08:00.229
|
||||
migrate 523965b912bb exited 2026-10-14T21:07:54.122
|
||||
postgres 5c16b9b684f2 running (healthy) 2026-10-14T21:07:48.620
|
||||
valkey c74935587700 running (healthy) 2026-10-14T21:07:48.474
|
||||
api 7740e49a1d8c: same container, start time 21:07:12 -> 21:07:56
|
||||
api 4e5560c6d072: same container, start time 21:07:35 -> 21:07:56
|
||||
lb 91c0051bd4c8: same container, start time 20:46:51 -> 21:08:00
|
||||
postgres 5c16b9b684f2: same container, start time 21:05:32 -> 21:07:48
|
||||
valkey c74935587700: same container, start time 21:05:11 -> 21:07:48
|
||||
PASS: api replicas, postgres, valkey and lb were restarted (same containers and volumes, new start time); data and the existing token survived
|
||||
Reference in New Issue
Block a user