forked from mtusi2026/mtusi2026lab3
ЛР 3 — БВТ2301 — Майорова — на 5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user