forked from mtusi2026/mtusi2026lab4
ЛР 4: S3-вложения и исследование согласованности — Майорова БВТ2301
This commit is contained in:
@@ -28,3 +28,14 @@ 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 reconcile reconcile-apply
|
||||
|
||||
test-student:
|
||||
BASE_URL="$(BASE_URL)" $(PYTHON) -m unittest discover -s student-tests -p 'test_*.py' -v
|
||||
|
||||
reconcile:
|
||||
docker compose run --rm --no-deps reconciler
|
||||
|
||||
reconcile-apply:
|
||||
docker compose run --rm --no-deps reconciler python src/reconcile.py --apply
|
||||
|
||||
Reference in New Issue
Block a user