This commit is contained in:
2026-11-06 18:09:01 +03:00
parent 0ab3a341aa
commit 8f89c7c43b
68 changed files with 4432 additions and 29 deletions
+18
View File
@@ -0,0 +1,18 @@
Собственные проверки лабораторной 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 и ровно одно сообщение в истории.