yurtaev - lab4

This commit is contained in:
yurtaev.va
2026-11-06 15:43:25 +03:00
parent ec540a1a72
commit 2a88f717f3
22 changed files with 1627 additions and 42 deletions
+13 -1
View File
@@ -4,11 +4,14 @@ CA_FILE ?=
ACTION_SCRIPT ?=
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
.PHONY: help check validate test load test-persistence test-failover
.PHONY: help lint check validate test test-level4 test-direct benchmark-upload load test-persistence test-failover
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
lint:
$(PYTHON) scripts/lint.py
check:
$(PYTHON) scripts/check_contract.py
@@ -18,6 +21,15 @@ validate:
test:
$(PYTHON) tests/smoke.py --base-url "$(BASE_URL)" $(TLS_ARGS)
test-level4:
$(PYTHON) tests/level4.py --base-url "$(BASE_URL)" $(TLS_ARGS)
test-direct:
$(PYTHON) tests/direct_upload.py --base-url "$(BASE_URL)" $(TLS_ARGS)
benchmark-upload:
$(PYTHON) tests/upload_benchmark.py --base-url "$(BASE_URL)"
load:
$(PYTHON) tests/load.py --base-url "$(BASE_URL)" $(TLS_ARGS)