22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
# persistence run 2026-11-07T18:04:54.7155080+03:00
|
|
# command (= make test-persistence ACTION_SCRIPT=scripts/restart.cmd): python tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://localhost:8080
|
|
## before
|
|
NAME CONTAINER ID STATUS
|
|
messenger-lab3-api-1 1b755b53e9fa Up 22 seconds (healthy)
|
|
messenger-lab3-api-2 e3303afc01b2 Up 56 seconds (healthy)
|
|
messenger-lab3-lb-1 760a68ddce9c Up 3 minutes (healthy)
|
|
messenger-lab3-postgres-1 2265aa5e595d Up 3 minutes (healthy)
|
|
volume messenger-lab3_pgdata
|
|
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
|
|
## after (same IDs, new uptime)
|
|
NAME CONTAINER ID STATUS
|
|
messenger-lab3-api-1 1b755b53e9fa Up 12 seconds (healthy)
|
|
messenger-lab3-api-2 e3303afc01b2 Up 11 seconds (healthy)
|
|
messenger-lab3-lb-1 760a68ddce9c Up 5 seconds (healthy)
|
|
messenger-lab3-postgres-1 2265aa5e595d Up 16 seconds (healthy)
|
|
volume messenger-lab3_pgdata
|
|
api1 172.25.0.2 UP
|
|
api2 172.25.0.3 UP
|