CNTRLPLANE-2532: Add OTE-compatible E2E test files#596
CNTRLPLANE-2532: Add OTE-compatible E2E test files#596openshift-merge-bot[bot] merged 4 commits intoopenshift:mainfrom
Conversation
Add Ginkgo-based OTE (OpenShift Test Extended) framework tests alongside the existing standard Go tests. This allows tests to run both via go test and through the Ginkgo/OTE framework for OpenShift CI integration. Changes: - Refactor operator_test.go to use shared test logic - Add operator.go with standalone test functions callable from both frameworks - Add helpers.go with common setup and cleanup utilities - Add dependencymagnet.go to ensure test dependencies are vendored Co-Authored-By: Rohit Patil <ropatil@redhat.com>
58846c4 to
dd01892
Compare
|
/unhold |
|
/test e2e-aws-operator |
|
/test-with openshift/release#73599 |
|
@ropatil010: This pull request references CNTRLPLANE-2532 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Fix: operator.go With Pipeline thing,
Reason: Fix: |
|
Can you PTAL when ever get a chance. Thanks in adv! |
|
@ropatil010 is the new test still testing the image built through the CI? I.e. does the tested image contains the changes from a PR? |
Checking the CI artifacts the following operator images is used: |
|
The mentioned e2e still needs to run over the CI job built operator image. |
|
@ropatil010: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Hi @ingvagabund. Reverted back the fix. Used the image built through the CI job: |
Looks good now |
|
/verified by ci/prow/e2e-aws-operator |
|
@ingvagabund: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund, ropatil010 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi Team,
Can you PTAL on this PR.
Changes:
Add cmd/run-once-duration-override-operator-tests-ext/dependencymagnet.go: Imports test packages to register Ginkgo tests with OTE framework
Add test/e2e/operator.go: Ginkgo test specs with shared test functions using testing.TB interface for dual compatibility
Replace test/e2e/operator_test.go: New standard Go test wrapper that calls shared functions from operator.go
Add test/e2e/helpers.go: Kubernetes client helpers and Init() function
Key features:
hold till the PR: #595 gets merged.
/hold
/assign @wangke19 @gangwgr @sandeepknd