Skip to content

Commit

Permalink
Created a test script to that can be run in 'make test-e2e' and 'make (
Browse files Browse the repository at this point in the history
…#1966)

Fixes end-to-end docker compose tests
  • Loading branch information
joeymhills committed Jun 2, 2024
1 parent 0e1af85 commit c1891f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 7 additions & 0 deletions scripts/test_e2e.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c1891f1

Please sign in to comment.