lab3: проба готовности на отдельном соединении, серия роста на блоке why#

This commit is contained in:
2026-10-16 22:09:31 +03:00
parent e42f02c016
commit 46d84ab0aa
107 changed files with 1999 additions and 1880 deletions
+7 -2
View File
@@ -10,12 +10,12 @@ FAILOVER_RUNS ?= 3
RATE ?= 200
TRACK1_ARGS ?=
.PHONY: help check validate test load test-persistence test-failover test-dependencies lab3-before-image \
.PHONY: help check test-analytics validate test load test-persistence test-failover test-dependencies lab3-before-image \
stand-up stand-down stand-status stand-replica wait-ready quiesce-up quiesce-down \
test-e2e test-failover-all rolling-update track1 evidence
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes; test-dependencies: stops/restarts Redis and PostgreSQL"
@echo "check: offline structure; test-analytics: offline analytics regression (no stand); validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes; test-dependencies: stops/restarts Redis and PostgreSQL"
@echo "stand-up/stand-down/stand-status: HAProxy + API x API_REPLICAS over shared PostgreSQL and Redis"
@echo "stand-replica: restore one missing API replica; wait-ready: wait for /health/ready"
@echo "quiesce-up/quiesce-down: stop and restore unrelated background containers of the host"
@@ -25,6 +25,11 @@ help:
check:
$(PYTHON) scripts/check_contract.py
# Регрессия аналитики трека 1: успешный RPS отделён от частоты ответов, рост
# сравнивается только внутри одного темпа. Оффлайн: сырые сводки — фикстуры.
test-analytics:
$(PYTHON) -m unittest discover -s tests -p 'test_*.py' -v
validate:
$(PYTHON) scripts/validate_openapi.py