Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ endif
ifndef LLM_TOKEN
$(error LLM_TOKEN environment variable is not set)
endif
go test -tags=exclude_graphdriver_btrfs ./test/e2e -timeout=120m -ginkgo.v -test.v -ginkgo.show-node-events --ginkgo.label-filter="!Rapidast && !Upgrade" --ginkgo.timeout=2h
go test -tags=exclude_graphdriver_btrfs ./test/e2e -timeout=120m -ginkgo.v -test.v -ginkgo.show-node-events --ginkgo.label-filter="!Rapidast && !Upgrade && !AllFeatures" --ginkgo.timeout=2h

.PHONY: test-upgrade
test-upgrade: ## Run upgrade tests with an Openshift cluster. Requires KUBECONFIG, LLM_TOKEN and BUNDLE_IMAGE environment variables.
Expand All @@ -193,6 +193,16 @@ ifndef BUNDLE_IMAGE
endif
go test ./test/e2e -timeout=120m -ginkgo.v -test.v -ginkgo.show-node-events --ginkgo.label-filter="Upgrade" --ginkgo.timeout=2h

.PHONY: test-e2e-all-features
test-e2e-all-features: ## Run comprehensive all-features E2E test. Requires KUBECONFIG and LLM_TOKEN environment variables.
ifndef KUBECONFIG
$(error KUBECONFIG environment variable is not set)
endif
ifndef LLM_TOKEN
$(error LLM_TOKEN environment variable is not set)
endif
go test -tags=exclude_graphdriver_btrfs ./test/e2e -timeout=180m -ginkgo.v -test.v -ginkgo.show-node-events --ginkgo.label-filter="AllFeatures" --ginkgo.timeout=3h

.PHONY: test-e2e-local
test-e2e-local: ## Run e2e tests with an Openshift cluster, excluding Database-Persistency test that requires a storage class. Requires KUBECONFIG and LLM_TOKEN environment variables.
ifndef KUBECONFIG
Expand Down
8 changes: 4 additions & 4 deletions internal/controller/appserver/assets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2045,11 +2045,11 @@ var _ = Describe("Helper function unit tests", func() {
It("should return error when proxy CA certificate ConfigMap does not exist", func() {
cr.Spec.OLSConfig.ProxyConfig = &olsv1alpha1.ProxyConfig{
ProxyURL: "http://proxy.example.com:8080",
ProxyCACertificateRef: &olsv1alpha1.ProxyCACertConfigMapRef{
LocalObjectReference: corev1.LocalObjectReference{
Name: "nonexistent-proxy-ca",
ProxyCACertificateRef: &olsv1alpha1.ProxyCACertConfigMapRef{
LocalObjectReference: corev1.LocalObjectReference{
Name: "nonexistent-proxy-ca",
},
},
},
}
// Don't create the ConfigMap - validation should fail
_, err := buildOLSConfig(testReconcilerInstance, ctx, cr, false)
Expand Down
Loading