Skip to content

Commit 411ccc3

Browse files
authored
Merge pull request #3342 from sbueringer/pr-order-ginkgo
🌱 Align ginkgo flags to core CAPI
2 parents 74cb88b + 4de2139 commit 411ccc3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,12 @@ export PATH := $(abspath $(TOOLS_BIN_DIR)):$(PATH)
7979
#
8080
GINKGO_FOCUS ?=
8181
GINKGO_SKIP ?=
82+
GINKGO_LABEL_FILTER ?=
8283
GINKGO_NODES ?= 1
8384
GINKGO_TIMEOUT ?= 3h
85+
GINKGO_ARGS ?=
86+
GINKGO_POLL_PROGRESS_AFTER ?= 60m
87+
GINKGO_POLL_PROGRESS_INTERVAL ?= 5m
8488
E2E_CONF_FILE ?= $(abspath test/e2e/config/vsphere.yaml)
8589
E2E_CONF_OVERRIDE_FILE ?= $(abspath test/e2e/config/config-overrides.yaml)
8690
E2E_VSPHERE_IP_POOL ?=
@@ -698,11 +702,16 @@ e2e: $(GINKGO) $(KUSTOMIZE) $(KIND) $(GOVC) ## Run e2e tests
698702
@echo Contents of $(TOOLS_BIN_DIR):
699703
@ls $(TOOLS_BIN_DIR)
700704
@echo
701-
time $(GINKGO) -v --trace -focus="$(GINKGO_FOCUS)" $(_SKIP_ARGS) --nodes=$(GINKGO_NODES) -timeout=$(GINKGO_TIMEOUT) \
702-
--output-dir="$(ARTIFACTS)" --junit-report="junit.e2e_suite.1.xml" ./test/e2e -- \
705+
time $(GINKGO) -v --trace \
706+
--nodes=$(GINKGO_NODES) --timeout=$(GINKGO_TIMEOUT) \
707+
--label-filter="$(GINKGO_LABEL_FILTER)" --focus="$(GINKGO_FOCUS)" $(_SKIP_ARGS) \
708+
--poll-progress-after=$(GINKGO_POLL_PROGRESS_AFTER) --poll-progress-interval=$(GINKGO_POLL_PROGRESS_INTERVAL) \
709+
--fail-on-pending --fail-on-empty \
710+
--no-color=$(GINKGO_NOCOLOR) --output-dir="$(ARTIFACTS)" --junit-report="junit.e2e_suite.1.xml" \
711+
$(GINKGO_ARGS) ./test/e2e -- \
712+
--e2e.artifacts-folder="$(ARTIFACTS)" \
703713
--e2e.config="$(E2E_CONF_FILE)" \
704714
--e2e.config-overrides="$(E2E_CONF_OVERRIDE_FILE)" \
705-
--e2e.artifacts-folder="$(ARTIFACTS)" \
706715
--e2e.skip-resource-cleanup=$(SKIP_RESOURCE_CLEANUP) \
707716
--e2e.use-existing-cluster="$(USE_EXISTING_CLUSTER)" \
708717
--e2e.ip-pool='$(E2E_VSPHERE_IP_POOL)'

0 commit comments

Comments
 (0)