forked from mtusi2026/mtusi2026lab7
Перенесены cmd/internal/config, compose.yaml, Dockerfile, скрипты, student-tests и evidence из mtusi-messenger (master, lab6). Skeleton lab7 (openapi/infrastructure 1.7.0, trust-matrix.md, security/THREAT_MODEL.md, infra/openbao, tests/security.py) сохранён; make test-security добавлен в Makefile.
4 lines
657 B
Plaintext
4 lines
657 B
Plaintext
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/idempotency_parallel.py --base-url "http://localhost:8080"
|
|
{"replay": {"workers": 12, "instances": ["8f0e5bdd7998", "e8d2415b9c96"], "message_id": "01a1a763-5b9b-7a27-994f-78248c9271aa"}, "conflict": {"workers": 12, "accepted": 1, "conflicts": 11}, "stable_body": {"message_id": "01a1a763-5bd8-778e-ba62-16240fa3ec36"}, "key_required": {"status": 400}}
|
|
PASS: параллельный повтор с одним Idempotency-Key создаёт ровно одно сообщение
|