forked from mtusi2026/mtusi2026lab4
Стенд: PostgreSQL 16 + две API-реплики за HAProxy + SeaweedFS S3 в приватном bucket. Метаданные вложений в PostgreSQL, байты в S3, object key назначает сервер. Лимиты 10 MiB и 40 млн пикселей, MIME по магическим байтам, проверка filename. Добавлены smoke/негативные тесты, хуки restart/stop-one, сценарий отказа S3 и отчёт с доказательствами.
18 lines
806 B
Plaintext
18 lines
806 B
Plaintext
.venv\Scripts\python : test_signed_cursor_roundtrip_and_tampering (test_core.CursorTests) ... ok
|
|
строка:1 знак:382
|
|
+ ... ntract.txt; .venv\Scripts\python -m unittest discover -s student-test ...
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: (test_signed_cur...orTests) ... ok:String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
test_corrupt_and_oversized (test_core.ImageTests) ... ok
|
|
test_filename_rules (test_core.ImageTests) ... ok
|
|
test_fixture_png (test_core.ImageTests) ... ok
|
|
test_jpeg_and_mime_mismatch (test_core.ImageTests) ... ok
|
|
test_password_roundtrip (test_core.PasswordTests) ... ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 6 tests in 0.099s
|
|
|
|
OK
|