25 lines
1.3 KiB
Plaintext
25 lines
1.3 KiB
Plaintext
# 2026-11-04 14:09:34 UTC | Недоступность S3 и восстановление | exit 0 | 48.7s
|
|
$ python student-tests/s3_outage.py --base-url http://127.0.0.1:8080 --output evidence/s3_outage.json
|
|
PASS baseline upload 201 — 201
|
|
$ docker compose --env-file .env stop s3
|
|
PASS readiness stays 200 while S3 is down (S3 is not a readiness dependency) — 200
|
|
PASS text message 201 during S3 outage — 201
|
|
PASS history 200 during S3 outage — 200
|
|
PASS attachment metadata 200 (PostgreSQL only) — 200
|
|
PASS message referencing existing attachment 201 — 201
|
|
PASS upload #1 -> 503 unavailable — 503 unavailable in 6.53s
|
|
PASS upload #1 failed fast (<= 15s) — 6.53s
|
|
PASS upload #1 has Retry-After
|
|
PASS upload #2 -> 503 unavailable — 503 unavailable in 6.31s
|
|
PASS upload #2 failed fast (<= 15s) — 6.31s
|
|
PASS upload #2 has Retry-After
|
|
PASS download -> 503 during outage — 503 in 3.66s
|
|
PASS download failed fast — 3.66s
|
|
PASS session still valid — 200
|
|
$ docker compose --env-file .env start s3
|
|
$ C:\Users\mrend\AppData\Local\Programs\Python\Python312\python.exe scripts/ops.py wait-s3
|
|
PASS S3 read/write warm-up after start — 20.34s
|
|
PASS old file downloads byte-for-byte after recovery — 200 0.02s
|
|
PASS new upload 201 after recovery (same token, no API restart) — 201
|
|
PASS
|