исправление замечаний

This commit is contained in:
2026-10-10 00:22:30 +03:00
parent 1d02ee3f33
commit d0eaaea5b6
12 changed files with 144 additions and 46 deletions
+6 -2
View File
@@ -11,11 +11,11 @@ export BASE_URL
export BASE_URL_TTL
.PHONY: help check validate test load test-persistence \
secrets up down ps logs student-test race expiry failure-valkey failure-postgres db-test explain demo cache-stats
secrets up down ps logs student-test race expiry failure-valkey failure-postgres failure-valkey-pause db-test explain demo cache-stats
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
@echo "secrets/up/down/ps/logs: stand; student-test, race, expiry, failure-valkey, failure-postgres, db-test, explain, demo, cache-stats: own checks"
@echo "secrets/up/down/ps/logs: stand; student-test, race, expiry, failure-valkey, failure-postgres, failure-valkey-pause, db-test, explain, demo, cache-stats: own checks"
check:
$(PYTHON) scripts/check_contract.py
@@ -70,6 +70,10 @@ failure-valkey:
failure-postgres:
$(PYTHON) student-tests/dependency_failure.py postgres
# Valkey на паузе (данные в нём сохраняются), logout, снова в строю: токен должен остаться отозванным.
failure-valkey-pause:
$(PYTHON) student-tests/cache_revocation.py
db-test:
docker compose --profile tools run --rm db-test