forked from mtusi2026/mtusi2026lab6
исправлены тесты и сценарии отказов
This commit is contained in:
@@ -22,9 +22,13 @@ load:
|
||||
$(PYTHON) tests/load.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-persistence:
|
||||
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable restart hook"; exit 2)
|
||||
ifeq ($(ACTION_SCRIPT),)
|
||||
$(error Set ACTION_SCRIPT to your implemented executable restart hook)
|
||||
endif
|
||||
$(PYTHON) tests/resilience.py --mode persistence --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-failover:
|
||||
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable stop-one hook"; exit 2)
|
||||
ifeq ($(ACTION_SCRIPT),)
|
||||
$(error Set ACTION_SCRIPT to your implemented executable stop-one hook)
|
||||
endif
|
||||
$(PYTHON) tests/resilience.py --mode failover --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
Reference in New Issue
Block a user