feat(reconcile): add attachment consistency reconciler
This commit is contained in:
+6
-1
@@ -6,14 +6,16 @@ LOAD_ARGS = $(if $(LOAD_WORKERS),-workers=$(LOAD_WORKERS),) \
|
||||
REPLICA ?= 1
|
||||
ACTION ?= stop-one.sh
|
||||
ACTION_AT ?= 10s
|
||||
DRY_RUN ?= true
|
||||
|
||||
.PHONY: help-go contract-go race-go load-go failure-go load-action-go
|
||||
.PHONY: help-go contract-go race-go load-go failure-go load-action-go reconcile
|
||||
|
||||
help-go:
|
||||
@echo "contract-go: contract tests"
|
||||
@echo "race-go: concurrency tests (-race)"
|
||||
@echo "load-go: load test"
|
||||
@echo "failure-go: dependency failure tests (stops redis/postgres containers)"
|
||||
@echo "reconcile: attachment audit; DRY_RUN=false to repair"
|
||||
|
||||
contract-go:
|
||||
go test -tags=contract ./student-tests/... -v -args -base-url=$(BASE_URL)
|
||||
@@ -33,3 +35,6 @@ load-action-go:
|
||||
-replica=$(REPLICA) \
|
||||
-action=$(CURDIR)/scripts/$(ACTION) \
|
||||
-action-at=$(ACTION_AT)
|
||||
|
||||
reconcile:
|
||||
docker compose --env-file .env run --rm --no-deps reconcile -dry-run=$(DRY_RUN)
|
||||
|
||||
Reference in New Issue
Block a user