Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Swiftv2 L1VH]Add multiple IB NICs UT #3476

Merged
merged 5 commits into from
Mar 7, 2025
Merged

[Swiftv2 L1VH]Add multiple IB NICs UT #3476

merged 5 commits into from
Mar 7, 2025

Conversation

paulyufan2
Copy link
Contributor

Reason for Change:

This PR is to add multiple IB NICs Unit test

Issue Fixed:

Requirements:

Notes:

@paulyufan2 paulyufan2 added the cni Related to CNI. label Mar 5, 2025
@paulyufan2 paulyufan2 marked this pull request as ready for review March 5, 2025 22:20
@Copilot Copilot bot review requested due to automatic review settings March 5, 2025 22:20
@paulyufan2 paulyufan2 requested a review from a team as a code owner March 5, 2025 22:20
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

PR Overview

This PR adds a new unit test to verify that multiple IB NICs are correctly added to the CNI result, supporting Azure Container Networking.

  • Introduces TestMultipleIBNICsToResult to validate the handling of multiple backend NIC info.
  • Sets up expected NIC info mapping and verifies it against the result from the CNSIPAMInvoker.

Reviewed Changes

File Description
cni/network/invoker_cns_test.go Adds a unit test for validating multiple IB NIC additions to the CNI result

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

@paulyufan2 paulyufan2 enabled auto-merge March 5, 2025 23:22
@paulyufan2 paulyufan2 requested a review from tamilmani1989 March 6, 2025 02:08
@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulyufan2
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rbtr rbtr self-requested a review March 7, 2025 00:41
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 7, 2025
@paulyufan2 paulyufan2 added this pull request to the merge queue Mar 7, 2025
Merged via the queue into master with commit a1354da Mar 7, 2025
14 checks passed
@paulyufan2 paulyufan2 deleted the addMultiIBUT branch March 7, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cni Related to CNI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants