Skip to content

Commit

Permalink
Add GOFLAGS to missing system-test-env (#16236)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch authored Feb 12, 2020
1 parent 4c53445 commit cb07176
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,12 @@ system-tests: prepare-tests ${BEAT_NAME}.test python-env
.PHONY: system-tests-environment
system-tests-environment: ## @testing Runs the system tests inside a virtual environment. This can be run on any docker-machine (local, remote)
system-tests-environment: prepare-tests build-image
${DOCKER_COMPOSE} run -e INTEGRATION_TESTS=1 -e TESTING_ENVIRONMENT=${TESTING_ENVIRONMENT} -e DOCKER_COMPOSE_PROJECT_NAME=${DOCKER_COMPOSE_PROJECT_NAME} beat make system-tests
${DOCKER_COMPOSE} run \
-e INTEGRATION_TESTS=1 \
-e TESTING_ENVIRONMENT=${TESTING_ENVIRONMENT} \
-e DOCKER_COMPOSE_PROJECT_NAME=${DOCKER_COMPOSE_PROJECT_NAME} \
-e GOFLAGS=-mod=vendor \
beat make system-tests

.PHONY: fast-system-tests
fast-system-tests: ## @testing Runs system tests without coverage reports and in parallel
Expand Down

0 comments on commit cb07176

Please sign in to comment.