Files
mtusi2026lab5/evidence/tests/student-test-lb.md
T

22 lines
2.3 KiB
Markdown
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.
# Свой набор через LB
- Команда: `make student_test` (`BASE_URL=http://localhost:8080 EXPECT_REPLICAS=2`)
- Дата: 2026-10-31, 23:02:21–23:03:39 UTC; код выхода 2 (код pytest 1)
- Commit: `d8fe2e8` (ветка `feat/unit-of-work`), рабочее дерево чистое
- Стенд: проект compose `mtusi-lab5`, две реплики за HAProxy, relay, worker, собран `make run_docker` из `HEAD`
- Итог: **1 failed, 223 passed, 141 deselected, 78,03 с**. 141 deselected — проверки отказов (`evidence/tests/failure-checks.md`)
- Единственное красное — ожидаемое `test_exclusion_evidence_exists`, причина ровно `missing_evidence`: файлы старых исключений `evidence/cache/hits.md`, `evidence/auth/passwords-and-tokens.md`, `evidence/idempotency/replay-after-restart.md` снимаются на последнем шаге всего прогона лабы (`QUESTIONS.md`, «Перенос из лабы 4»). Приложение тут ни при чём: проверяется наличие файла в репозитории
- `student-tests/` с change `unit-of-work` не менялись (`git diff --stat` пуст): набор доказывает, что поведение то же
- Вывод сокращён: убраны строки `PASSED`, заголовки блоков вывода и текст функции теста
```text
student-tests/test_coverage.py::test_exclusion_evidence_exists FAILED [ 50%]
E AssertionError: exclusion refers to missing evidence/cache/hits.md: chat-cache / Временная база
E exclusion refers to missing evidence/cache/hits.md: chat-cache / Срок записи
E exclusion refers to missing evidence/cache/hits.md: chat-cache / Чтение из кэша
E exclusion refers to missing evidence/idempotency/replay-after-restart.md: idempotency / Повтор после рестарта API
E exclusion refers to missing evidence/auth/passwords-and-tokens.md: sessions / Токена нет в хранилище
E exclusion refers to missing evidence/auth/passwords-and-tokens.md: users / Хэш в БД
=========== 1 failed, 223 passed, 141 deselected in 78.03s (0:01:18) ===========
```