forked from mtusi2026/mtusi2026lab7
ЛР7: прогон в Docker, исправления по результатам, evidence и отчёт
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# jobs-worker-down
|
||||
# date: 2026-12-03T00:25:23 commit: cbbe525
|
||||
|
||||
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url https://localhost:8443 --scenario worker-down
|
||||
== worker остановлен: приём не зависит от обработки ==
|
||||
ok - upload → 202 queued without worker (0.06s)
|
||||
ok - still queued after 3 s: API did not resize synchronously
|
||||
ok - content of queued attachment → 409 (got 409)
|
||||
ok - thumbnail of queued attachment → 409 (got 409)
|
||||
ok - message with queued attachment → 201 (got 201)
|
||||
ok - other messages keep working
|
||||
ok - job is in the broker stream (len=1), outbox published
|
||||
== рестарт брокера и API с сохранением volumes ==
|
||||
ok - after broker restart the message is still there (len=1)
|
||||
ok - same session, same attachment, still queued
|
||||
== worker запущен ==
|
||||
ok - after restart: status ready, error_code null
|
||||
ok - after restart: variants thumbnail+crop+optimized (['thumbnail', 'crop', 'optimized'])
|
||||
ok - after restart: original byte-for-byte
|
||||
ok - after restart: thumbnail 256x160, sha256 matches
|
||||
ok - staging removed after ready (original lives in originals/)
|
||||
attachment 6aa5c5be-15a2-415a-94b1-fad82336be4d, job 8acaba04-3508-4e29-a7c1-3588390ff9ee, events: ['23:25:26.464 accepted 1 api', '23:25:51.164 claimed 1 41fdf4c607ce-1', '23:25:52.695 ready 1 41fdf4c607ce']
|
||||
[worker-down: 35s]
|
||||
|
||||
14 passed, 0 failed
|
||||
[exit 0]
|
||||
Reference in New Issue
Block a user