You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: manifests generate fmt vet envtest ## Run tests.
87
91
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test -v $$(go list ./... | grep -v /e2e) -coverprofile ./cover.out
88
92
89
-
# TODO(user): To use a different vendor for e2e tests, modify the setup under 'tests/e2e'.
90
-
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
91
-
# Prometheus and CertManager are installed by default; skip with:
92
-
# - PROMETHEUS_INSTALL_SKIP=true
93
-
# - CERT_MANAGER_INSTALL_SKIP=true
93
+
# Prometheus is installed by default; skip with:
94
+
# - TEST_E2E_SKIP_PROMETHEUS_INSTALL=true
94
95
.PHONY: test-e2e
95
96
test-e2e: manifests generate e2e-test-cluster ## Run general E2E tests. Expected an isolated environment using Kind.
96
97
go test ./test/e2e/ -v -ginkgo.v -timeout 60m
97
98
98
99
test-e2e-upgrade: manifests generate e2e-test-cluster ## Run E2E upgrade tests. Expected an isolated environment using Kind.
99
-
go test ./test/e2e/ -v -ginkgo.v -timeout 20m -ginkgo.focus="EMQX Upgrade Test"\
100
+
go test ./test/e2e/upgrade -v -ginkgo.v -timeout 20m \
0 commit comments