ЛР 2: мессенджер на PostgreSQL и сессии в Redis
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
2026-10-20
|
||||
Команда:
|
||||
make test-dependencies
|
||||
|
||||
Результат:
|
||||
PASS: redis outage returned 503 and recovered.
|
||||
PASS: postgres outage returned 503 and recovered.
|
||||
PASS: Redis and PostgreSQL dependency checks completed.
|
||||
|
||||
`scripts/test-dependencies.sh` по очереди останавливает Redis и PostgreSQL,
|
||||
проверяет `GET /health/ready = 503`, затем запускает сервис обратно и ждёт
|
||||
`200`. `trap` запускает остановленный сервис даже при ошибке; volumes не
|
||||
удаляются. Анонимный доступ (`401`) проверяется в обычном smoke-тесте.
|
||||
Reference in New Issue
Block a user