mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
(makefile) Injecting test data should not stop the server (#25045)
This commit is contained in:
parent
ecace3a166
commit
74f35aa92c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user