Skip to content

MGMT-22635: fix test defaults for CI environment - #29

Merged
openshift-merge-bot[bot] merged 1 commit into
osac-project:mainfrom
omer-vishlitzky:MGMT-22635-fix-test-defaults
Apr 22, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
osac-project:mainfrom
omer-vishlitzky:MGMT-22635-fix-test-defaults

Conversation

@omer-vishlitzky

@omer-vishlitzky omer-vishlitzky commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Change default CLI binary from fulfillment-cli to osac (renamed in fulfillment-service#399)
  • Fix OSAC_NETWORK_CLASS default from osac.templates.cudn_net to cudn_net to match actual NetworkClass implementation_strategy value

Ref

https://redhat.atlassian.net/browse/MGMT-22635

Summary by CodeRabbit

  • Chores
    • Updated test fixture configurations for improved consistency across test suites.

- Change default CLI binary from fulfillment-cli to osac
- Fix OSAC_NETWORK_CLASS default from osac.templates.cudn_net
  to cudn_net to match actual NetworkClass implementation_strategy
@openshift-ci-robot

openshift-ci-robot commented Apr 21, 2026 •

Copy link
Copy Markdown

@omer-vishlitzky: This pull request references MGMT-22635 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 "5.0.0" version, but no target version was set.

Details

In response to this:

Summary

  • Change default CLI binary from fulfillment-cli to osac (renamed in fulfillment-service#399)
  • Fix OSAC_NETWORK_CLASS default from osac.templates.cudn_net to cudn_net to match actual NetworkClass implementation_strategy value

Ref

https://redhat.atlassian.net/browse/MGMT-22635

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.

@openshift-ci
openshift-ci Bot requested review from jhernand and tzvatot April 21, 2026 17:45
@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 07430b6c-8eeb-43b6-943b-e5bae56ecf67

📥 Commits

Reviewing files that changed from the base of the PR and between f5174fa and 5f09fce.

📒 Files selected for processing (2)
  • tests/conftest.py
  • tests/vmaas/conftest.py

Walkthrough

Two fixture default values were updated in test configuration files. The first change modifies the CLI executable path from "fulfillment-cli" to "osac" in the main conftest. The second simplifies the network class reference from "osac.templates.cudn_net" to "cudn_net" in the vmaas test configuration. Both are single-line modifications to environment variable fallback values.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

lgtm, approved

Suggested reviewers

  • adriengentil
  • tzumainn
  • jhernand
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: fixing test defaults for CI environment, which aligns with the core objective of updating fixture defaults in conftest files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@akshaynadkarni akshaynadkarni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci

openshift-ci Bot commented Apr 22, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akshaynadkarni, omer-vishlitzky

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:
  • OWNERS [akshaynadkarni,omer-vishlitzky]

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 a74a7a1 into osac-project:main Apr 22, 2026
4 checks passed
omer-vishlitzky added a commit to omer-vishlitzky/osac-test-infra that referenced this pull request Apr 22, 2026
The CLI binary was renamed from fulfillment-cli to osac in
fulfillment-service v0.0.54+. The conftest.py default was
updated to osac in PR osac-project#29, but the Containerfile still
downloaded fulfillment-cli. This caused every CLI-dependent
test to fail with FileNotFoundError.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants