Created a test script to that can be run in 'make test-e2e' and 'make (#1966)

Fixes end-to-end docker compose tests
This commit is contained in:
Joey Hills
2024-06-02 15:21:53 -04:00
committed by GitHub
parent 0e1af85c0b
commit c1891f148e
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -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:
+7
View File
@@ -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