Add inject-test-data to the makefile (#19715)

Этот коммит содержится в:
Julien Tant
2022-03-07 12:57:04 -07:00
коммит произвёл GitHub
родитель f6fef9362b
Коммит 5dd4bec6fa

Просмотреть файл

@@ -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