From 51ab67ddcfef60ab9dca2fa0e0023a77eca2cb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Wed, 12 Feb 2020 14:51:30 +0100 Subject: [PATCH] Add GOFLAGS to missing system-test-env (#16236) --- libbeat/scripts/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libbeat/scripts/Makefile b/libbeat/scripts/Makefile index 3d2549a7598..e4af10508c7 100755 --- a/libbeat/scripts/Makefile +++ b/libbeat/scripts/Makefile @@ -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