forked from mtusi2026/mtusi2026lab2
Подключение Postgresql и redis
This commit is contained in:
@@ -4,7 +4,7 @@ CA_FILE ?=
|
||||
ACTION_SCRIPT ?=
|
||||
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
|
||||
.PHONY: help check validate test load test-own
|
||||
.PHONY: help check validate test load test-own test-persistence
|
||||
|
||||
help:
|
||||
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes; test-own: Go tests"
|
||||
@@ -23,3 +23,7 @@ load:
|
||||
|
||||
test-own:
|
||||
go test ./...
|
||||
|
||||
test-persistence:
|
||||
test -n "$(ACTION_SCRIPT)"
|
||||
$(PYTHON) tests/resilience.py --base-url "$(BASE_URL)" --mode persistence --action-script "$(ACTION_SCRIPT)" $(TLS_ARGS)
|
||||
|
||||
Reference in New Issue
Block a user