forked from mtusi2026/mtusi2026lab2
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
=== 1. Останавливаю кэш сессий (valkey) ===
|
|
Container mtusi-lab2-valkey-1 Stopping
|
|
Container mtusi-lab2-valkey-1 Stopped
|
|
api Up 40 seconds (healthy)
|
|
postgres Up 46 seconds (unhealthy)
|
|
PASS login_and_read_work_without_cache
|
|
PASS unknown_token_is_still_rejected
|
|
PASS readiness_ignores_the_cache
|
|
3/3 checks passed
|
|
Container mtusi-lab2-valkey-1 Starting
|
|
Container mtusi-lab2-valkey-1 Started
|
|
|
|
=== 2. Останавливаю PostgreSQL ===
|
|
Container mtusi-lab2-postgres-1 Stopping
|
|
Container mtusi-lab2-postgres-1 Stopped
|
|
api Up 41 seconds (healthy)
|
|
valkey Up Less than a second (health: starting)
|
|
PASS readiness_reports_the_outage
|
|
PASS writes_fail_with_503
|
|
PASS unknown_token_never_becomes_trusted
|
|
PASS login_fails_closed
|
|
4/4 checks passed
|
|
Container mtusi-lab2-postgres-1 Starting
|
|
Container mtusi-lab2-postgres-1 Started
|
|
|
|
=== 3. Состояние восстановлено ===
|
|
api Up 44 seconds (healthy)
|
|
postgres Up Less than a second (health: starting)
|
|
valkey Up 3 seconds (health: starting)
|