forked from mtusi2026/mtusi2026lab4
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
2026-11-20T03:51:42+03:00
|
|
make test-persistence ACTION_SCRIPT=scripts/restart.sh
|
|
|
|
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 scope: containers and volumes before/after scripts/restart.sh ---
|
|
|
|
messenger-lab4_api_1 dbc0d13c9b45 Up About a minute (healthy)
|
|
messenger-lab4_api_2 939e096de71a Up 42 seconds (healthy)
|
|
messenger-lab4_lb_1 c2c6a2077627 Up About a minute
|
|
messenger-lab4_postgres_1 a0b192c17952 Up About a minute (healthy)
|
|
messenger-lab4_redis_1 f787abf8c4bf Up About a minute (healthy)
|
|
messenger-lab4_s3_1 49ff0b0c9d92 Up About a minute (healthy)
|
|
messenger-lab4_pgdata
|
|
messenger-lab4_redisdata
|
|
messenger-lab4_s3data
|
|
|
|
$ scripts/restart.sh
|
|
|
|
|
|
messenger-lab4_api_1 dbc0d13c9b45 Up 15 seconds (healthy)
|
|
messenger-lab4_api_2 939e096de71a Up 15 seconds (healthy)
|
|
messenger-lab4_lb_1 c2c6a2077627 Up 15 seconds
|
|
messenger-lab4_postgres_1 a0b192c17952 Up 16 seconds (healthy)
|
|
messenger-lab4_redis_1 f787abf8c4bf Up 16 seconds (healthy)
|
|
messenger-lab4_s3_1 49ff0b0c9d92 Up 16 seconds (healthy)
|
|
messenger-lab4_pgdata
|
|
messenger-lab4_redisdata
|
|
messenger-lab4_s3data
|
|
ready: 200
|