Собрать стенд лабораторной 5: очередь, worker и идемпотентность pipeline.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Команда (через WSL, потому что Windows не запускает .sh):
|
||||
python3 -X utf8 tests/resilience.py --mode persistence --action-script scripts/restart.sh --base-url http://127.0.0.1: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.
|
||||
|
||||
Код выхода: 0. Дата: 12 ноября 2026.
|
||||
|
||||
StartedAt после hook:
|
||||
postgres 2026-11-12T08:58:51.311769003Z
|
||||
redis 2026-11-12T08:58:50.947096648Z
|
||||
minio 2026-11-12T08:58:51.30945974Z
|
||||
rabbitmq 2026-11-12T08:59:03.356512147Z
|
||||
api-1 2026-11-12T08:59:15.032550589Z
|
||||
api-2 2026-11-12T08:59:14.961115981Z
|
||||
lb 2026-11-12T08:56:49.466505107Z (не перезапускался)
|
||||
worker 2026-11-12T08:56:32.031493932Z (скрипт его не трогает)
|
||||
|
||||
Hook перезапускает postgres, redis, minio, rabbitmq и api. Volume не удалялись.
|
||||
Reference in New Issue
Block a user