25 lines
1.4 KiB
Markdown
25 lines
1.4 KiB
Markdown
# Student-owned tests
|
|
|
|
This directory contains additional experiments written for this implementation.
|
|
The course-provided black-box suite remains in `tests/`; Spring tests remain in
|
|
`src/test/java`.
|
|
|
|
- `idempotency_concurrent.py` — one key through multiple API replicas.
|
|
- `readiness_gate.py` — both replicas become unhealthy after the required
|
|
schema table disappears; readiness and business traffic must return 503,
|
|
then recover after the table is restored.
|
|
- `failover_each.py` — sequential process failover of both Compose replicas.
|
|
- `rolling_update.py` — sequential replacement under write load.
|
|
- `node_failover.py` — hard loss of one worker in the disposable three-node
|
|
Swarm lab, task relocation and confirmed-data verification.
|
|
- `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`.
|
|
- `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.
|