Files
mtusi2026lab5/evidence/03-student-tests.txt
T
2026-11-20 20:11:39 +03:00

33 lines
4.0 KiB
Plaintext

BASE_URL = http://traefik:8080
docker : test_01_at_least_two_instances_and_stable_header (test_lab3.Lab3Tests.test_01_at_least_two_instances_and_stabl
e_header)
строка:1 знак:129
+ ... ew($false); docker run --rm --network lab5_backend -v "C:\Users\denis ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (test_01_at_leas..._stable_header):String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
LB действительно распределяет один и тот же токен между разными процессами. ... ok
test_02_concurrent_same_key_through_lb_creates_one_message (test_lab3.Lab3Tests.test_02_concurrent_same_key_through_lb_
creates_one_message)
Один ключ + одно тело одновременно через разные реплики = одно сообщение. ... ok
test_03_same_key_other_body_conflicts (test_lab3.Lab3Tests.test_03_same_key_other_body_conflicts) ... ok
test_04_key_scope_user_and_chat (test_lab3.Lab3Tests.test_04_key_scope_user_and_chat) ... ok
test_05_key_validation (test_lab3.Lab3Tests.test_05_key_validation) ... ok
test_06_uncertain_retry_is_safe (test_lab3.Lab3Tests.test_06_uncertain_retry_is_safe)
Повтор с тем же ключом после потери ответа не создаёт второй объект. ... ok
test_01_png_and_jpeg_pipeline (test_lab5.Lab5AttachmentTests.test_01_png_and_jpeg_pipeline) ... ok
test_02_stranger_and_nonmember (test_lab5.Lab5AttachmentTests.test_02_stranger_and_nonmember) ... ok
test_03_attachment_from_another_chat_is_404 (test_lab5.Lab5AttachmentTests.test_03_attachment_from_another_chat_is_404)
... ok
test_04_queued_attachment_can_be_message_and_idempotency (test_lab5.Lab5AttachmentTests.test_04_queued_attachment_can_b
e_message_and_idempotency) ... ok
test_05_rejects_bad_images_and_filenames (test_lab5.Lab5AttachmentTests.test_05_rejects_bad_images_and_filenames) ... o
k
test_06_unknown_variant_is_400 (test_lab5.Lab5AttachmentTests.test_06_unknown_variant_is_400) ... ok
----------------------------------------------------------------------
Ran 12 tests in 5.433s
OK