Files
mtusi2026lab2/evidence/persistence.txt
T
Mraksimus dc5abb6fff
Skeleton contracts / contracts (pull_request) Canceled after 0s
Completed for a grade of five
2026-10-09 11:50:01 +03:00

28 lines
1.4 KiB
Plaintext

# Before restart
mtusi-lab2-api Up 6 seconds (healthy)
mtusi-lab2-postgres Up 12 seconds (healthy)
mtusi-lab2-redis Up 12 seconds (healthy)
/mtusi-lab2-api started 2026-10-08T21:30:14.569499088Z
/mtusi-lab2-postgres started 2026-10-08T21:30:08.908684627Z
/mtusi-lab2-redis started 2026-10-08T21:30:08.908745585Z
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
# After restart: all three containers have a new StartedAt, volume kept
mtusi-lab2-api Up 5 seconds (healthy)
mtusi-lab2-postgres Up 11 seconds (healthy)
mtusi-lab2-redis Up 11 seconds (healthy)
/mtusi-lab2-api started 2026-10-08T21:30:30.898479762Z
/mtusi-lab2-postgres started 2026-10-08T21:30:25.306495884Z
/mtusi-lab2-redis started 2026-10-08T21:30:25.305453468Z
mtusi-messenger-lab2_postgres-data
# Migrations are not re-applied
2026-10-08T21:30:15.407Z INFO [main] o.f.core.internal.command.DbMigrate - Migrating schema "public" to version "1 - init"
2026-10-08T21:30:31.478Z INFO [main] o.f.core.internal.command.DbMigrate - Schema "public" is up to date. No migration necessary.
# Redis keys after restart: Redis came up empty (no RDB/AOF), these 2 keys were filled by the test requests made after the restart
2