# jobs-broker-down
# date: 2026-12-03T00:25:59  commit: cbbe525

$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url https://localhost:8443 --scenario broker-down
== брокер недоступен: приём не зависит от брокера (transactional outbox) ==
  ok   - /health/ready = 200: broker is not critical for API
  ok   - upload → 202 queued while broker is down (0.1s, publish timeout ≤ 2s)
  ok   - intent kept in outbox, not published yet
  ok   - after broker is back: status ready, error_code null
  ok   - after broker is back: variants thumbnail+crop+optimized (['thumbnail', 'crop', 'optimized'])
  ok   - after broker is back: original byte-for-byte
  ok   - after broker is back: thumbnail 256x160, sha256 matches
  ok   - relay published the outbox row when broker came back
   [broker-down: 10s]

8 passed, 0 failed
[exit 0]
