Skip to content

Remove real API calls to OCM in tests#847

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
joshbranham:bug/fix-ocm-client-calls
Feb 19, 2026
Merged

Remove real API calls to OCM in tests#847
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
joshbranham:bug/fix-ocm-client-calls

Conversation

@joshbranham
Copy link
Contributor

@joshbranham joshbranham commented Feb 19, 2026

This PR was merged in such a way that locally running tests would make real API calls to OCM. As that is an anti-pattern, extract the URL validation logic into it's own function and test it in isolation, versus making real connections to OCM. I believe this passes in prow because there is no local ocm config to read.

@joshbranham joshbranham self-assigned this Feb 19, 2026
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 19, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 19, 2026

@joshbranham: all tests passed!

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@nephomaniac
Copy link
Contributor

Thanks for the catch/fix.
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 19, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 19, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: joshbranham, nephomaniac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 53524f9 into openshift:master Feb 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants