ЛР5: брокер Redis Streams, worker, outbox, retry/DLQ/replay, варианты
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# jobs-outbox
|
||||
# date: 2026-11-11T23:57:25 commit: 276dbda
|
||||
|
||||
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url http://localhost:8080 --scenario outbox
|
||||
== crash API между COMMIT и publish (transactional outbox) ==
|
||||
ok - client did NOT get 202: API died after COMMIT (got 502)
|
||||
ok - attachment and job were committed before the crash (1 new)
|
||||
ok - relay-published job: status ready, error_code null
|
||||
ok - relay-published job: variants thumbnail+crop+optimized (['thumbnail', 'crop', 'optimized'])
|
||||
ok - relay-published job: original byte-for-byte
|
||||
ok - relay-published job: thumbnail 256x160, sha256 matches
|
||||
ok - outbox row published by relay (no new job created)
|
||||
[outbox: 20s]
|
||||
|
||||
7 passed, 0 failed
|
||||
[exit 0]
|
||||
Reference in New Issue
Block a user