@@ -79,8 +79,12 @@ export PATH := $(abspath $(TOOLS_BIN_DIR)):$(PATH)
7979#
8080GINKGO_FOCUS ?=
8181GINKGO_SKIP ?=
82+ GINKGO_LABEL_FILTER ?=
8283GINKGO_NODES ?= 1
8384GINKGO_TIMEOUT ?= 3h
85+ GINKGO_ARGS ?=
86+ GINKGO_POLL_PROGRESS_AFTER ?= 60m
87+ GINKGO_POLL_PROGRESS_INTERVAL ?= 5m
8488E2E_CONF_FILE ?= $(abspath test/e2e/config/vsphere.yaml)
8589E2E_CONF_OVERRIDE_FILE ?= $(abspath test/e2e/config/config-overrides.yaml)
8690E2E_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