forked from mtusi2026/mtusi2026lab2
исправление замечаний
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user