diff --git a/Makefile b/Makefile index b9e48355e..94ebe7082 100644 --- a/Makefile +++ b/Makefile @@ -73,8 +73,8 @@ test-e2e-cleanup: ## cleanup test e2e namespace/pr left open .PHONY: test-e2e test-e2e: test-e2e-cleanup ## run e2e tests - @env GODEBUG=asynctimerchan=1 \ - go test $(GO_TEST_FLAGS) -timeout $(TIMEOUT_E2E) -failfast -count=1 -tags=e2e $(GO_TEST_FLAGS) ./test + env GODEBUG=asynctimerchan=1 \ + go test -timeout $(TIMEOUT_E2E) -failfast -count=1 -tags=e2e -v $(GO_TEST_FLAGS) ./test .PHONY: html-coverage html-coverage: ## generate html coverage diff --git a/hack/gh-workflow-ci.sh b/hack/gh-workflow-ci.sh index b93aed406..8bf3baeae 100755 --- a/hack/gh-workflow-ci.sh +++ b/hack/gh-workflow-ci.sh @@ -141,10 +141,7 @@ run_e2e_tests() { mapfile -t tests < <(get_tests "${target}") echo "About to run ${#tests[@]} tests: ${tests[*]}" - env GO_TEST_FLAGS="-run '$( - IFS='|' - echo "${tests[*]}" - )'" make test-e2e + GO_TEST_FLAGS="-run \"$(echo "${tests[*]}" | sed 's/ /|/g')\"" make test-e2e } collect_logs() {