Skip to content

Commit

Permalink
Merge pull request cert-manager#135 from SgtCoDFish/e2e-focus
Browse files Browse the repository at this point in the history
Add env var for focusing on individual e2e tests
  • Loading branch information
cert-manager-prow[bot] authored Apr 30, 2024
2 parents 297c6d7 + b28f853 commit ee88c1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make/test-e2e.mk
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,15 @@ test-e2e-deps: INSTALL_OPTIONS += --set app.driver.volumeMounts[0].mountPath=/va
test-e2e-deps: INSTALL_OPTIONS += --set app.driver.sourceCABundle=/var/run/secrets/cert-manager-csi-driver-spiffe/ca.crt
test-e2e-deps: install

E2E_FOCUS ?=

.PHONY: test-e2e
## e2e end-to-end tests
## @category Testing
test-e2e: test-e2e-deps | kind-cluster $(NEEDS_GINKGO) $(NEEDS_KUBECTL) $(ARTIFACTS)
$(GINKGO) \
--output-dir=$(ARTIFACTS) \
--focus="$(E2E_FOCUS)" \
--junit-report=junit-go-e2e.xml \
./test/e2e/ \
-ldflags $(go_manager_ldflags) \
Expand Down

0 comments on commit ee88c1f

Please sign in to comment.