diff --git a/libbeat/scripts/Makefile b/libbeat/scripts/Makefile index 5ab4a3e72337..46cbe933ac90 100755 --- a/libbeat/scripts/Makefile +++ b/libbeat/scripts/Makefile @@ -208,7 +208,7 @@ integration-tests-environment: prepare-tests build-image # # This will make docker-compose command to display the logs on stdout on error, It's not enabled # by default because it can create noise if the test inside the container fails. - ${DOCKER_COMPOSE} run beat make integration-tests RACE_DETECTOR=$(RACE_DETECTOR) DOCKER_COMPOSE_PROJECT_NAME=${DOCKER_COMPOSE_PROJECT_NAME} + ${DOCKER_COMPOSE} run beat make integration-tests RACE_DETECTOR=$(RACE_DETECTOR) DOCKER_COMPOSE_PROJECT_NAME=${DOCKER_COMPOSE_PROJECT_NAME} || ${DOCKER_COMPOSE} logs --tail 200 # Runs the system tests .PHONY: system-tests