ROSAENG-61179 | test: add ocm wrapper request-contract coverage - #3445
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: olucasfreitas 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 |
Group the CRUD-style pkg/ocm request-contract tests into one review layer so the wrapper coverage stays separate from the lifecycle and add-on behavior changes. Signed-off-by: lufreita <lufreita@redhat.com>
ae9053f to
3a8af18
Compare
PR Summary
Splits the CRUD-style
pkg/ocmrequest-contract coverage into its own stacked PR for easier review.Detailed Description of the Issue
This PR is the CRUD/request-shape layer of the ROSAENG-61179 stack. It groups the DNS domain, ingress, node pool, OIDC config, and user client tests that primarily validate endpoint contracts, payloads, and wrapper behavior, while depending on the shared test harness from the base PR.
Related Issues and PRs
N/AN/AType of Change
Previous Behavior
Behavior After This Change
pkg/ocmwrappers are isolated in one PR, with focused request assertions and no unrelated lifecycle or add-on changes in the same diff.How to Test (Step-by-Step)
Preconditions
1.26.3compatible toolchain. If the local default toolchain is older, prefix commands withGOTOOLCHAIN=auto.Test Steps
GOTOOLCHAIN=auto go test ./pkg/ocm -count=1 -ginkgo.focus="DNS Domains|Ingresses|NodePools|Oidc Config|Users".Expected Results
pkg/ocmspecs pass on top of the base branch.Proof of the Fix
N/AN/AGOTOOLCHAIN=auto go test ./pkg/ocm -count=1 -ginkgo.focus="DNS Domains|Ingresses|NodePools|Oidc Config|Users"N/ABreaking Changes
Breaking Change Details / Migration Plan
N/ADeveloper Verification Checklist
[JIRA-TICKET] | [TYPE]: <MESSAGE>.make install-hookshas been run in this clone.make testpasses.make lintpasses.make rosapasses.