7 — Т2302 — ебедев — на 5

This commit is contained in:
2026-11-22 23:26:17 +03:00
parent 20afc2c790
commit d15f2a3631
179 changed files with 21709 additions and 54 deletions
+10
View File
@@ -0,0 +1,10 @@
# 2026-11-22T19:27:21Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ python3 student-tests/test_storage_failures.py
## object storage failures (https://127.0.0.1:8443)
PASS bucket is private outside API: anonymous GET/LIST/PUT denied, API key limited 2.80s anon GET 403; s3-check 4/4 PASS
PASS S3 down: upload/download 503 fast, text messages and readiness keep working 31.13s 503 in 0.04s/0.03s; after start: reads 4.4s, writes 23.7s
PASS interrupted upload: no object and no intent left behind 5.13s objects 2, intents 1 — unchanged
PASS uploads rejected at the very end (truncated PNG) leave no staging object (race regression) 6.04s 30 × 415 at finish(); staging objects 2 → 2
PASS crash between staging PUT and DB COMMIT: intent recorded, janitor removes object after grace 23.75s orphan staging/cc74d21f760c… removed 12.2s after crash (grace 10 s)
summary: 5 passed, 0 failed
exit=0