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

[NPM] Modified NPM Unit Tests #3160

Merged
merged 4 commits into from
Jan 8, 2025
Merged

[NPM] Modified NPM Unit Tests #3160

merged 4 commits into from
Jan 8, 2025

Conversation

rejain456
Copy link
Contributor

Reason for Change:

A few of the windows npm unit tests were failing in the pipelines

Issue Fixed:

This pr adds a fix to resolve the unit tests failing issue.
Background:
The NPM Lite PR introduced ingress and egress policy types to mock policy creation in the networkPolicyController_test.go file, enabling all the tests to go through the translatePolicy function. However, since the policy contained named ports, the Windows tests failed. This PR addresses the issue by implementing a fix to handle named ports appropriately for Windows.

Requirements:

Notes:

@rejain456 rejain456 requested a review from a team as a code owner November 21, 2024 17:55
@rejain456 rejain456 requested a review from matmerr November 21, 2024 17:55
huntergregory
huntergregory previously approved these changes Nov 21, 2024
@rejain456
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulyufan2 paulyufan2 added this pull request to the merge queue Nov 21, 2024
@rejain456 rejain456 removed this pull request from the merge queue due to a manual request Nov 21, 2024
@rejain456 rejain456 added this pull request to the merge queue Nov 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 22, 2024
Copy link

github-actions bot commented Dec 6, 2024

This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale due to inactivity. label Dec 6, 2024
Copy link

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Dec 13, 2024
@github-actions github-actions bot deleted the jainriya/npmUnitTestFix branch December 13, 2024 00:01
@rejain456 rejain456 restored the jainriya/npmUnitTestFix branch January 6, 2025 21:27
@rejain456 rejain456 reopened this Jan 6, 2025
@rejain456 rejain456 force-pushed the jainriya/npmUnitTestFix branch from 3cc100f to 9e3d517 Compare January 6, 2025 21:35
@github-actions github-actions bot removed the stale Stale due to inactivity. label Jan 7, 2025
@rejain456 rejain456 added this pull request to the merge queue Jan 7, 2025
Merged via the queue into master with commit d25da63 Jan 8, 2025
39 checks passed
@rejain456 rejain456 deleted the jainriya/npmUnitTestFix branch January 8, 2025 02:55
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