ЛР 3 — БВТ2301 — Майорова — на 5

This commit is contained in:
2026-10-27 11:26:09 +03:00
parent 0ab3a341aa
commit 8da1770331
55 changed files with 64041 additions and 35 deletions
+18
View File
@@ -28,3 +28,21 @@ test-persistence:
test-failover:
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable stop-one hook"; exit 2)
$(PYTHON) tests/resilience.py --mode failover --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
.PHONY: test-student bootstrap
test-student:
BASE_URL="$(BASE_URL)" $(PYTHON) -m unittest discover -s student-tests -p test_api.py -v
bootstrap:
$(PYTHON) scripts/bootstrap.py
.PHONY: test-faults test-durability research
test-faults:
BASE_URL="$(BASE_URL)" $(PYTHON) student-tests/faults.py
test-durability:
BASE_URL="$(BASE_URL)" $(PYTHON) student-tests/durability.py
research:
BASE_URL="$(BASE_URL)" $(PYTHON) student-tests/benchmark.py
.PHONY: test-dependencies
test-dependencies:
BASE_URL="$(BASE_URL)" $(PYTHON) student-tests/dependencies.py