refactor(smoke): срезаны проверки стенда, не служащие менти
- Зачем:
- проверок стало больше, чем продукта, и росли они из критериев приёмки,
а не из учебной ценности (#56).
- Что:
- удалены tests/dag-probes-unit.py, tests/stand-smoke-guards.sh,
tests/stand-smoke-static.sh и tests/smoke-guards.sh вместе с целью
make smoke-guards и запуском юнит-тестов в scripts/config-test.sh.
- из scripts/stand-smoke.sh убран check_env_consistency, туда же переехал
check_keeper_runtime; счёт проверок остался 25.
- в пробниках свёрнуты функции _assert_*, комментарий про отложенный импорт
переписан на причину из документации Airflow и продублирован в test_kafka.
- Проверка:
- make config-test, make up, make smoke, make smoke-cluster.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
COMPOSE ?= docker compose
|
||||
|
||||
.PHONY: up down clean ps logs config-test lint typecheck test docs smoke smoke-cluster smoke-guards
|
||||
.PHONY: up down clean ps logs config-test lint typecheck test docs smoke smoke-cluster
|
||||
|
||||
up:
|
||||
$(COMPOSE) up --detach --build --wait --wait-timeout 600
|
||||
@@ -19,7 +19,6 @@ logs:
|
||||
|
||||
config-test:
|
||||
COMPOSE_BIN="$(COMPOSE)" ./scripts/config-test.sh
|
||||
./tests/stand-smoke-static.sh
|
||||
|
||||
lint:
|
||||
cd generator && uv run ruff check && uv run ruff format --check
|
||||
@@ -39,7 +38,3 @@ smoke:
|
||||
|
||||
smoke-cluster:
|
||||
./scripts/clickhouse-smoke.sh
|
||||
|
||||
smoke-guards:
|
||||
./tests/smoke-guards.sh
|
||||
COMPOSE_BIN="$(COMPOSE)" ./tests/stand-smoke-guards.sh
|
||||
|
||||
Reference in New Issue
Block a user