Skip to content

Commit 78d46cd

Browse files
authored
[action] [PR:20530] [TH4/TH5]: Skip test_everflow_dscp_with_policer (#1046)
### Description of PR Summary: Skip the everflow_dscp_with_policer test for the TH4 and TH5 Broadcom ASICs, as Policer is not supported for MIRROR_SESSION on those ASICs. Fixes # (issue) ### Type of change - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [x] Skipped for non-supported platforms - [ ] Test case improvement ### Back port request - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [x] 202412 - [x] 202505 ### Approach #### What is the motivation for this PR? Mirror policing is not supported on Broadcom TH4/TH5 ASICs, so test_everflow_dscp_with_policer should be skipped accordingly. #### How did you do it? Added th4 and th5 to the list of unsupported ASICs for mirror policing. #### How did you verify/test it? Attempted to run the test and confirmed it is skipped. Note: test log shows: "Skipping test since mirror policing is not supported on broadcom th5 platforms" #### Any platform specific information? TH4/TH5-based platforms. Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
2 parents a5c2128 + 9d3b6ce commit 78d46cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/everflow/test_everflow_testbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class EverflowIPv4Tests(BaseEverflowTest):
8383

8484
DEFAULT_SRC_IP = "20.0.0.1"
8585
DEFAULT_DST_IP = "30.0.0.1"
86-
MIRROR_POLICER_UNSUPPORTED_ASIC_LIST = ["th3", "j2c+", "jr2"]
86+
MIRROR_POLICER_UNSUPPORTED_ASIC_LIST = ["th5", "th4", "th3", "j2c+", "jr2"]
8787

8888
@pytest.fixture(params=[DOWN_STREAM, UP_STREAM])
8989
def dest_port_type(self, setup_info, setup_mirror_session, tbinfo, request, erspan_ip_ver): # noqa F811

0 commit comments

Comments
 (0)