Complete Lab 5 grade 4 async attachment pipeline
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
PYTHON ?= python3
|
||||
BASE_URL ?= http://localhost:8080
|
||||
BASE_URL ?= http://localhost:8084
|
||||
CA_FILE ?=
|
||||
ACTION_SCRIPT ?=
|
||||
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
|
||||
.PHONY: help check validate test load test-persistence test-failover
|
||||
.PHONY: help check validate test load test-grade4 test-grade4-pipeline test-outbox-recovery test-worker-redelivery test-replay-failed-job test-broker-persistence test-persistence test-failover
|
||||
|
||||
help:
|
||||
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
|
||||
@echo "check: offline structure; validate: full OpenAPI; test: public smoke; test-grade4: image pipeline, broker persistence, outbox recovery, redelivery and safe replay"
|
||||
|
||||
check:
|
||||
$(PYTHON) scripts/check_contract.py
|
||||
@@ -18,6 +18,24 @@ validate:
|
||||
test:
|
||||
$(PYTHON) tests/smoke.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-grade4: test test-grade4-pipeline test-broker-persistence test-outbox-recovery test-worker-redelivery test-replay-failed-job
|
||||
|
||||
test-grade4-pipeline:
|
||||
$(PYTHON) student-tests/pipeline_unit.py
|
||||
$(PYTHON) student-tests/grade4_pipeline.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-outbox-recovery:
|
||||
$(PYTHON) student-tests/outbox_recovery.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-worker-redelivery:
|
||||
$(PYTHON) student-tests/worker_redelivery.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-replay-failed-job:
|
||||
$(PYTHON) student-tests/replay_failed_job.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-broker-persistence:
|
||||
$(PYTHON) student-tests/broker_persistence.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
load:
|
||||
$(PYTHON) tests/load.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user