Skip to content

[202205][routeorch] Fixing bug with multiple routes pointing to nhg #3006

Merged
prsunny merged 5 commits intosonic-net:202205from
Ndancejic:updateRoutefix
Jan 8, 2024
Merged

[202205][routeorch] Fixing bug with multiple routes pointing to nhg #3006
prsunny merged 5 commits intosonic-net:202205from
Ndancejic:updateRoutefix

Conversation

@Ndancejic
Copy link
Copy Markdown
Contributor

What I did

  • Fixed a bug where multiple routes pointing to the same nhg would not remove the route from m_nextHops cache in routeorch

  • Refactored multi_mux_nexthops tests and added new test cases

Why I did it

Caught the bug while refactoring, this will cause issues with switchover if one of the routes is removed

How I verified it

Ran refactored tests on local vstest setup, and all test cases passed

Details if related
cherry-pick of #2999

- Refactored multi_mux_nexthops tests and added new test cases.

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
test_drop_counters.py::TestDropCounters::test_add_remove_port
test_drop_counters.py::TestDropCounters::test_createAndDeleteMultipleCounters

Above test cases are failing and causing PRs to fail

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
@prsunny
Copy link
Copy Markdown
Collaborator

prsunny commented Jan 6, 2024

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Copy Markdown
Collaborator

prsunny commented Jan 7, 2024

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Copy Markdown
Collaborator

prsunny commented Jan 8, 2024

Test failed due to known issue. Master and 202305 PRs passed. Merging!

@prsunny prsunny merged commit 97aa546 into sonic-net:202205 Jan 8, 2024
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