-
Notifications
You must be signed in to change notification settings - Fork 260
[Swiftv2 L1VH]Add multiple IB NICs UT #3476
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
Conversation
There was a problem hiding this 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.
Co-authored-by: Copilot <[email protected]> Signed-off-by: Paul Yu <[email protected]>
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
* add multiple IB NICs UT * Update cni/network/invoker_cns_test.go Co-authored-by: Copilot <[email protected]> Signed-off-by: Paul Yu <[email protected]> * fix linter issue * fix linter issue --------- Signed-off-by: Paul Yu <[email protected]> Co-authored-by: Copilot <[email protected]>
Reason for Change:
This PR is to add multiple IB NICs Unit test
Issue Fixed:
Requirements:
Notes: