diff --git a/server/Makefile b/server/Makefile index d50bbbe9a0..e596075962 100644 --- a/server/Makefile +++ b/server/Makefile @@ -515,7 +515,7 @@ cover: ## Runs the golang coverage tool. You must run the unit tests first. $(GO) tool cover -html=cover.out $(GO) tool cover -html=ecover.out -test-data: run-server inject-test-data ## start a local instance and add test data to it. +test-data: run-server inject-test-data stop-server ## start a local instance and add test data to it. inject-test-data: # add test data to the local instance. @if ! ./scripts/wait-for-system-start.sh; then \ @@ -533,8 +533,6 @@ inject-test-data: # add test data to the local instance. @echo Login with a regular account username=user-1 password=SampleUs@r-1 @echo ======================================================================== - make stop-server - test-mmctl-unit: export MM_SERVER_PATH := $(MM_SERVER_PATH) test-mmctl-unit: export GOTESTSUM_FORMAT := $(GOTESTSUM_FORMAT) test-mmctl-unit: export GOTESTSUM_JUNITFILE := $(GOTESTSUM_JUNITFILE)