forked from mtusi2026/mtusi2026lab5
27 lines
1.5 KiB
Plaintext
27 lines
1.5 KiB
Plaintext
# jobs-worker-down
|
|
# date: 2026-11-11T23:54:34 commit: 276dbda
|
|
|
|
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url http://localhost:8080 --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 6297945b-c47d-4659-846b-8a2bba4cedb2, job 41928f68-bbf4-415a-b615-022121ec24f2, events: ['22:54:40.477 accepted 1 api', '22:55:06.052 claimed 1 7f4ae0224d1d-0', '22:55:08.563 ready 1 7f4ae0224d1d']
|
|
[worker-down: 38s]
|
|
|
|
14 passed, 0 failed
|
|
[exit 0]
|