Skip to content

Commit

Permalink
chore: disable route checker for crm nexthop group (sonic-net#16960)
Browse files Browse the repository at this point in the history
Description of PR
Disable route checker for crm/test_crm.py::test_crm_nexthop_group test case.

Summary:
Fixes # (issue) Microsoft ADO 31326413

Approach
What is the motivation for this PR?
Recently, we found that we would also get the routeCheck log analyzer error in crm/test_crm.py::test_crm_nexthop_group test case, so we decided to disable route checker for it as well.

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well.

co-authorized by: [email protected]
  • Loading branch information
cyw233 authored Feb 14, 2025
1 parent af76774 commit a172d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/crm/test_crm.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ def test_crm_neighbor(duthosts, enum_rand_one_per_hwsku_frontend_hostname,
crm_cmd=get_neighbor_stats)


@pytest.mark.usefixtures('disable_route_checker')
@pytest.mark.parametrize("group_member,network", [(False, "2.2.2.0/24"), (True, "2.2.2.0/24")])
def test_crm_nexthop_group(duthosts, enum_rand_one_per_hwsku_frontend_hostname,
enum_frontend_asic_index, crm_interface, group_member, network):
Expand Down

0 comments on commit a172d78

Please sign in to comment.