From 74f35aa92c6d8ec601bd18c3a9b48bf6ba1c7c84 Mon Sep 17 00:00:00 2001 From: Julien Tant <785518+JulienTant@users.noreply.github.com> Date: Mon, 23 Oct 2023 09:22:07 -0700 Subject: [PATCH] (makefile) Injecting test data should not stop the server (#25045) --- server/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)