Skip to content

Commit d1f5659

Browse files
tmshortclaude
andcommitted
UPSTREAM: <carry>: Fix downstream e2e test invocation
- Replace broken test-experimental-e2e target (test/experimental-e2e no longer exists) with /bin/true so triggered jobs always succeed - Pass -timeout=60m to go test; the previous invocation relied on Go's 10m default which is too short for BoxcutterRuntime clusters - Set E2E_STEP_TIMEOUT=15m; BoxcutterRuntime applies resources through sequential phases (CRD must reach Established before the deploy phase starts), making installations slower than the upstream 5m default - Skip ~@CatalogdHA scenarios (require multiple catalogd replicas not present in standard topology) - Skip ~@ProgressDeadline scenarios (require progressDeadlineMinutes < 10 but the OpenShift CRD enforces a minimum of 10) - Skip ~@httpproxy scenarios (too disruptive to cluster networking) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Todd Short <tshort@redhat.com>
1 parent 1675d19 commit d1f5659

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

openshift/Makefile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,24 @@ E2E_REGISTRY_NAMESPACE=operator-controller-e2e
3636
export CLUSTER_REGISTRY_HOST := $(E2E_REGISTRY_NAME).$(E2E_REGISTRY_NAMESPACE).svc:5000
3737

3838
export DOWNSTREAM_E2E_FLAGS := -count=1 -v
39-
export DOWNSTREAM_GODOG_FLAGS := ~@mirrored-registry && ~@TLSProfile
39+
export DOWNSTREAM_GODOG_FLAGS := ~@mirrored-registry && ~@TLSProfile && ~@CatalogdHA && ~@ProgressDeadline && ~@HTTPProxy
40+
export DOWNSTREAM_E2E_TIMEOUT := 60m
41+
# BoxcutterRuntime (techpreview) applies resources sequentially through phases
42+
# (CRD must be Established before the deploy phase) so installations take longer
43+
# than the upstream 5m default.
44+
export E2E_STEP_TIMEOUT := 15m
4045
.PHONY: test-e2e
4146
test-e2e: ## Run the e2e tests.
4247
$(DIR)/operator-controller/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE) $(E2E_REGISTRY_NAME)
4348
cd $(DIR)/../; \
44-
go test $(DOWNSTREAM_E2E_FLAGS) ./test/e2e/features_test.go --godog.tags="$(DOWNSTREAM_GODOG_FLAGS)" --k8s.cli=oc
49+
go test $(DOWNSTREAM_E2E_FLAGS) ./test/e2e/features_test.go \
50+
-timeout=$(DOWNSTREAM_E2E_TIMEOUT) \
51+
--godog.tags="$(DOWNSTREAM_GODOG_FLAGS)" \
52+
--k8s.cli=oc
4553

46-
export DOWNSTREAM_EXPERIMENTAL_E2E_FLAGS := -count=1 -v
4754
.PHONY: test-experimental-e2e
4855
test-experimental-e2e: ## Run the experimental e2e tests.
49-
$(DIR)/operator-controller/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE) $(E2E_REGISTRY_NAME)
50-
cd $(DIR)/../; \
51-
go test $(DOWNSTREAM_EXPERIMENTAL_E2E_FLAGS) ./test/experimental-e2e/...;
56+
/bin/true # keep - because it's triggered, but always succeed
5257

5358
PHONY: go-build-local
5459
go-build-local:

0 commit comments

Comments
 (0)