-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
Description of problem:
The test uses only Route (OpenShift), but to successfully run on Kubernetes cluster, we need to have the option of Ingress.
We can distinguish between the cluster type by `process.env.IS_OPENSHIFT` (is false for Kubernetes cluster).
Affected test: https://github.com/redhat-developer/rhdh/blob/main/e2e-tests/playwright/e2e/plugins/keycloak/catalog-users.spec.ts#L59C16-L59C44
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Run the e2e test suite on K8s cluster.
The tests can be triggered on a PR by commenting `/test ?`, for example:
/test e2e-tests-gke-helm-nightly
/test e2e-tests-aks-helm-nightly
Actual results:
Test is failing with:
HttpError: HTTP request failed at Request._callback (/tmp/rhdh/e2e-tests/node_modules/@kubernetes/client-node/dist/gen/api/customObjectsApi.js:268:36) at Request.self.callback (/tmp/rhdh/e2e-tests/node_modules/request/request.js:185:22) at Request.<anonymous> (/tmp/rhdh/e2e-tests/node_modules/request/request.js:1154:10) at IncomingMessage.<anonymous> (/tmp/rhdh/e2e-tests/node_modules/request/request.js:1076:12)
Expected results:
Tests should pass
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
Additional info (Such as Logs, Screenshots, etc):
- is duplicated by
-
RHDHBUGS-695 Keycloak plugin metrics test fails due to HttpError from Kubernetes API
-
- Closed
-
- links to