forked from mtusi2026/mtusi2026lab6
fix: restart stack without recreating containers in evidence collection
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# make test-persistence: restart.sh перезапускает postgres, redis, s3, rabbitmq, api, lb с сохранением volumes
|
||||
# date: 2026-11-20T13:47:18Z
|
||||
# commit: 5f870e4
|
||||
|
||||
## до
|
||||
/messenger-lab6-api-1 created started=0001-01-01T00:00:00Z
|
||||
/messenger-lab6-api-2 created started=0001-01-01T00:00:00Z
|
||||
/messenger-lab6-lb-1 created started=0001-01-01T00:00:00Z
|
||||
/messenger-lab6-postgres-1 running started=2026-11-20T13:47:05.265451532Z
|
||||
/messenger-lab6-rabbitmq-1 running started=2026-11-20T13:47:05.327304509Z
|
||||
/messenger-lab6-redis-1 running started=2026-11-20T13:47:05.314284674Z
|
||||
/messenger-lab6-s3-1 running started=2026-11-20T13:47:05.255000565Z
|
||||
|
||||
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://lb:8080"
|
||||
FAIL: GET /health/live: connection/TLS failure (URLError)
|
||||
make: *** [Makefile:26: test-persistence] Error 1
|
||||
EXIT CODE 2
|
||||
|
||||
## после
|
||||
/messenger-lab6-api-1 created started=0001-01-01T00:00:00Z
|
||||
/messenger-lab6-api-2 created started=0001-01-01T00:00:00Z
|
||||
/messenger-lab6-lb-1 created started=0001-01-01T00:00:00Z
|
||||
/messenger-lab6-postgres-1 running started=2026-11-20T13:47:05.265451532Z
|
||||
/messenger-lab6-rabbitmq-1 running started=2026-11-20T13:47:05.327304509Z
|
||||
/messenger-lab6-redis-1 running started=2026-11-20T13:47:05.314284674Z
|
||||
/messenger-lab6-s3-1 running started=2026-11-20T13:47:05.255000565Z
|
||||
Reference in New Issue
Block a user