forked from mtusi2026/mtusi2026lab3
lab3: проба готовности на отдельном соединении, серия роста на блоке why#
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user