test(worker): add retry and persistence checks and adapt attachment tests for async processing
This commit is contained in:
+5
-1
@@ -8,10 +8,11 @@ ACTION ?= stop-one.sh
|
||||
ACTION_AT ?= 10s
|
||||
DRY_RUN ?= true
|
||||
|
||||
.PHONY: help-go contract-go race-go load-go failure-go load-action-go reconcile reconcile-test-go
|
||||
.PHONY: help-go contract-go race-go load-go failure-go load-action-go reconcile reconcile-test-go worker-go
|
||||
|
||||
help-go:
|
||||
@echo "contract-go: contract tests"
|
||||
@echo "worker-go: worker persistence, duplicate and bounded retry (stops shared services)"
|
||||
@echo "race-go: concurrency tests (-race)"
|
||||
@echo "load-go: load test"
|
||||
@echo "failure-go: dependency failure tests (stops redis/postgres/s3 containers)"
|
||||
@@ -42,3 +43,6 @@ reconcile:
|
||||
reconcile-test-go:
|
||||
docker compose --env-file .env build reconcile
|
||||
go test -count=1 -tags=reconcile ./student-tests/... -v -args -base-url=$(BASE_URL)
|
||||
|
||||
worker-go:
|
||||
go test -count=1 -tags=worker ./student-tests/... -v -args -base-url=$(BASE_URL)
|
||||
|
||||
Reference in New Issue
Block a user