From 5dd4bec6fa6b798a5f7f1977a99b1b6623711aa8 Mon Sep 17 00:00:00 2001 From: Julien Tant <785518+JulienTant@users.noreply.github.com> Date: Mon, 7 Mar 2022 12:57:04 -0700 Subject: [PATCH] Add inject-test-data to the makefile (#19715) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e378857f7b..676079de72 100644 --- a/Makefile +++ b/Makefile @@ -444,7 +444,9 @@ 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 ## Add test data to the local instance. +test-data: run-server inject-test-data ## 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 \ make stop; \ fi