This commit is contained in:
EgorAnti
2026-11-19 10:57:39 +03:00
parent 75d2f78913
commit a4d58b2eec
26 changed files with 1141 additions and 96 deletions
+6 -1
View File
@@ -15,10 +15,15 @@ The course-provided black-box suite remains in `tests/`; Spring tests remain in
- `lab4_negative.py` — oversized/corrupt/MIME-spoofed uploads, unsafe filename,
unknown attachment, foreign user and cross-chat binding; every user error is 4xx.
- `concurrent_upload_memory.py` — 12 simultaneous ~6.5 MiB valid PNG uploads and
aggregate API container memory sampling through `docker stats`.
aggregate API container memory sampling through `docker stats` (lab5 `202`
upload contract).
- `lab5_worker_recovery.py` — durable worker stop/restart, all three variants and
idempotent duplicate delivery.
- `lab5_fault_injection.py` — crashes after outbox commit and after result commit
but before consumer acknowledgement.
- `lab5_dlq_replay_lease.py` — permanent failure DLQ routing, guarded audited
replay, and expired processing-lease recovery.
- `lab5_pipeline_idempotency.py` — versioned pipeline v1/v2, audited promotion,
`superseded` fencing, duplicate/reordered/stale deliveries, and crashes before
and after the S3 side effect. The script prints invariant checks and a final
`PASS` line; it uses `.env.example` for the disposable test stand by default.