Skip to content

Commit ee88c1f

Browse files
Merge pull request cert-manager#135 from SgtCoDFish/e2e-focus
Add env var for focusing on individual e2e tests
2 parents 297c6d7 + b28f853 commit ee88c1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make/test-e2e.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,15 @@ test-e2e-deps: INSTALL_OPTIONS += --set app.driver.volumeMounts[0].mountPath=/va
7474
test-e2e-deps: INSTALL_OPTIONS += --set app.driver.sourceCABundle=/var/run/secrets/cert-manager-csi-driver-spiffe/ca.crt
7575
test-e2e-deps: install
7676

77+
E2E_FOCUS ?=
78+
7779
.PHONY: test-e2e
7880
## e2e end-to-end tests
7981
## @category Testing
8082
test-e2e: test-e2e-deps | kind-cluster $(NEEDS_GINKGO) $(NEEDS_KUBECTL) $(ARTIFACTS)
8183
$(GINKGO) \
8284
--output-dir=$(ARTIFACTS) \
85+
--focus="$(E2E_FOCUS)" \
8386
--junit-report=junit-go-e2e.xml \
8487
./test/e2e/ \
8588
-ldflags $(go_manager_ldflags) \

0 commit comments

Comments
 (0)