# jobs-broker-down
# date: 2026-11-11T23:55:16  commit: 276dbda

$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url http://localhost:8080 --scenario broker-down
== брокер недоступен: приём не зависит от брокера (transactional outbox) ==
  ok   - /health/ready = 200: broker is not critical for API
  ok   - upload → 202 queued while broker is down (2.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: 14s]

8 passed, 0 failed
[exit 0]
