Files
mtusi2026lab3/evidence/03-student-tests.txt
T
2026-11-06 18:09:01 +03:00

19 lines
760 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Собственные проверки лабораторной 3
Дата: 2026-10-30, BASE_URL=http://127.0.0.1:8080.
$ python student-tests/run_all.py --base-url http://127.0.0.1:8080
BASE_URL = http://127.0.0.1:8080
test_01_at_least_two_instances_and_stable_header ... ok
test_02_concurrent_same_key_through_lb_creates_one_message ... ok
test_03_same_key_other_body_conflicts ... ok
test_04_key_scope_user_and_chat ... ok
test_05_key_validation ... ok
test_06_uncertain_retry_is_safe ... ok
Ran 6 tests in 1.737s
OK
test_02 одновременно отправляет 24 POST с одним Idempotency-Key через LB,
требует не менее двух разных X-Instance-Id и ровно одно сообщение в истории.