forked from mtusi2026/mtusi2026lab2
feat:some_improvement
This commit is contained in:
@@ -24,3 +24,19 @@ load:
|
||||
test-persistence:
|
||||
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable restart hook"; exit 2)
|
||||
$(PYTHON) tests/resilience.py --mode persistence --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
TMP_TTL ?= 2
|
||||
|
||||
my_tests_expiry:
|
||||
COMPOSE_ENV_FILE="$(or $(COMPOSE_ENV_FILE),.env)" \
|
||||
COMPOSE_FILE="$(or $(COMPOSE_FILE),compose.yaml)" \
|
||||
$(PYTHON) student_tests/lab2_expiry.py \
|
||||
--base-url "$(BASE_URL)" --ttl "$(TMP_TTL)" $(TLS_ARGS)
|
||||
|
||||
my_tests_extra:
|
||||
COMPOSE_ENV_FILE="$(or $(COMPOSE_ENV_FILE),.env)" \
|
||||
COMPOSE_FILE="$(or $(COMPOSE_FILE),compose.yaml)" \
|
||||
$(PYTHON) student_tests/lab2_extra.py \
|
||||
--base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
my_tests: my_tests_expiry my_tests_extra
|
||||
Reference in New Issue
Block a user