Skip to content

Conversation

@QxBytes
Copy link
Contributor

@QxBytes QxBytes commented Jan 21, 2025

Reason for Change:

Previously TestFailureOnCreation in npm/pkg/dataplane/ipsets/ipsetmanager_windows_test.go could flake: https://msazure.visualstudio.com/One/_build/results?buildId=112594849&view=logs&j=1e95c5bf-f785-5c1d-a4c1-33b038e882fb&t=4058cacc-5989-52ae-5341-5beff346fc28 since the contents of a set have no defined order. This PR changes the test validation behavior to copy the cache object, sort the values, and then replace the copy's values with the sorted values before comparing the copy (sorted) to the expected.

Issue Fixed:

Requirements:

Notes:
This PR is made so this PR won't flake #3156

@QxBytes QxBytes self-assigned this Jan 21, 2025
@QxBytes QxBytes added the npm Related to NPM. label Jan 21, 2025
@QxBytes QxBytes changed the title test: npm sort set policy values before validation test: sort npm set policy values before validation Jan 21, 2025
@QxBytes
Copy link
Contributor Author

QxBytes commented Jan 21, 2025

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@QxBytes QxBytes marked this pull request as ready for review January 21, 2025 20:09
@QxBytes QxBytes requested a review from a team as a code owner January 21, 2025 20:09
@QxBytes QxBytes requested review from matmerr and vakalapa January 21, 2025 20:09
huntergregory
huntergregory previously approved these changes Jan 21, 2025
@QxBytes
Copy link
Contributor Author

QxBytes commented Jan 21, 2025

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).
huntergregory
huntergregory previously approved these changes Jan 21, 2025
@QxBytes QxBytes added this pull request to the merge queue Jan 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@QxBytes QxBytes added this pull request to the merge queue Jan 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@QxBytes QxBytes added this pull request to the merge queue Jan 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@QxBytes QxBytes added this pull request to the merge queue Jan 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@github-actions
Copy link

github-actions bot commented Feb 5, 2025

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 Feb 5, 2025
@QxBytes QxBytes removed the stale Stale due to inactivity. label Feb 7, 2025
@QxBytes QxBytes enabled auto-merge February 20, 2025 23:33
@QxBytes
Copy link
Contributor Author

QxBytes commented Feb 20, 2025

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@QxBytes QxBytes added this pull request to the merge queue Feb 21, 2025
Merged via the queue into master with commit 76f46d5 Feb 21, 2025
18 checks passed
@QxBytes QxBytes deleted the alew/fix-npm-flake branch February 21, 2025 22:53
sivakami-projects pushed a commit that referenced this pull request Oct 23, 2025
* sort set policy values before validation * address linter issues * sort expected values * address feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npm Related to NPM.

4 participants