Files
mtusi2026lab4/evidence/attachments/smoke.txt
T

19 lines
1.3 KiB
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 — публичный smoke лабы 4 через LB рабочего
# стенда: вложение tests/fixtures/sample.png загружается (201 ready),
# сообщение с attachment_ids читается участниками, скачанный оригинал
# совпадает по SHA-256, посторонний получает 404 (tests/smoke.py).
# Дата: 2026-10-23T16:41Z (UTC)
# Окружение: macOS 26.6.2, Apple M3 Pro; Docker 29.9.2, Compose 5.6.1;
# python3 хоста 3.11.9.
# Стенд: рабочий (`make up`, проект vladimirceva-lab4), HAProxy
# 127.0.0.1:8180 (порт из .env), 2 реплики.
# Код: src_sha256 bc10d566e2f63173541445a2f6273b967447e13e5dd7f1fb76900934e5692cbe.
# Как повторить: make up; make test [BASE_URL=http://localhost:<HOST_PORT>]
$ make test BASE_URL=http://localhost:8180
python3 tests/smoke.py --base-url "http://localhost:8180"
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
# Итог: сценарий skeleton лабы 4 проходит через LB. Проверка через
# отдельный стенд и вместе с собственными тестами — tests/test-isolated.txt.