Skip to content

test(api-core): prepare DPU/host fixtures for api-model move#2318

Open
poroh wants to merge 1 commit into
NVIDIA:mainfrom
poroh:tests-refactoring-p5
Open

test(api-core): prepare DPU/host fixtures for api-model move#2318
poroh wants to merge 1 commit into
NVIDIA:mainfrom
poroh:tests-refactoring-p5

Conversation

@poroh

@poroh poroh commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Description

Move shared fixture prerequisites out of api-core so DpuConfig and ManagedHostConfig can later move into api-model test-support without creating an api-core dependency.

  • expose default BlueField firmware versions from carbide-firmware
  • move self-signed test certificate helper to carbide-utils test-support
  • update fixtures to use api-model PCIeDevice directly

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

#2001

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@poroh poroh requested a review from a team as a code owner June 8, 2026 23:29
@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: b21ec7d8-e376-41f0-8611-75a624698883

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

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

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

Move shared fixture prerequisites out of api-core so DpuConfig and
ManagedHostConfig can later move into api-model test-support without creating an
api-core dependency.

- expose default BlueField firmware versions from carbide-firmware
- move self-signed test certificate helper to carbide-utils test-support
- update fixtures to use api-model PCIeDevice directly

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh force-pushed the tests-refactoring-p5 branch from 136db79 to 2d135c2 Compare June 8, 2026 23:30

@akorobkov-nvda akorobkov-nvda 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.

Looks good to me

@poroh poroh enabled auto-merge (squash) June 8, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants