forked from mtusi2026/mtusi2026lab5
34 lines
1.8 KiB
Plaintext
34 lines
1.8 KiB
Plaintext
# persistence: restart API, worker, relay and all stores (postgres, valkey, s3, rabbitmq) with volumes
|
|
# date: 2026-11-10T13:47:05Z
|
|
# command: make test-persistence ACTION_SCRIPT=scripts/restart.sh ; hook output below is from a separate run
|
|
|
|
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.
|
|
|
|
## hook run separately to show container states before/after:
|
|
NAME STATUS
|
|
messenger-lab5-api-1 Up 5 seconds (healthy)
|
|
messenger-lab5-api-2 Up 6 seconds (healthy)
|
|
messenger-lab5-lb-1 Up 5 seconds (healthy)
|
|
messenger-lab5-ops-1 Up 38 seconds (healthy)
|
|
messenger-lab5-postgres-1 Up 41 seconds (healthy)
|
|
messenger-lab5-rabbitmq-1 Up 41 seconds (healthy)
|
|
messenger-lab5-relay-1 Up 35 seconds (healthy)
|
|
messenger-lab5-s3-1 Up 41 seconds (healthy)
|
|
messenger-lab5-sweeper-1 Up 6 seconds (healthy)
|
|
messenger-lab5-valkey-1 Up 41 seconds (healthy)
|
|
messenger-lab5-worker-1 Up 6 seconds (healthy)
|
|
NAME STATUS
|
|
messenger-lab5-api-1 Up 5 seconds (healthy)
|
|
messenger-lab5-api-2 Up 5 seconds (healthy)
|
|
messenger-lab5-lb-1 Up 5 seconds (healthy)
|
|
messenger-lab5-ops-1 Up 37 seconds (healthy)
|
|
messenger-lab5-postgres-1 Up 41 seconds (healthy)
|
|
messenger-lab5-rabbitmq-1 Up 41 seconds (healthy)
|
|
messenger-lab5-relay-1 Up 35 seconds (healthy)
|
|
messenger-lab5-s3-1 Up 41 seconds (healthy)
|
|
messenger-lab5-sweeper-1 Up 5 seconds (healthy)
|
|
messenger-lab5-valkey-1 Up 41 seconds (healthy)
|
|
messenger-lab5-worker-1 Up 5 seconds (healthy)
|