diff --git a/Makefile b/Makefile index 01a57d01..ba3f64b8 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ test-unit-docker: ## run unit tests with docker .PHONY: test-e2e test-e2e: - cd e2etests && go test --tags e2etests + ./scripts/test_e2e.sh .PHONY: test-e2e-docker test-e2e-docker: diff --git a/scripts/test_e2e.sh b/scripts/test_e2e.sh new file mode 100755 index 00000000..c3bf1b37 --- /dev/null +++ b/scripts/test_e2e.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# test_e2e.sh + +# Run the e2e tests with the race detector enabled +set -xeuo pipefail +cd e2etests && go test --tags e2etests -race