Skip to content

Commit

Permalink
Add GOFLAGS to missing system-test-env (elastic#16236)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Mar 3, 2020
1 parent 836a9ce commit 9b6b04c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,13 @@ 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} -e PYTHON_EXE=${PYTHON_EXE} 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 PYTHON_EXE=${PYTHON_EXE} \
-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 9b6b04c

Please sign in to comment.