Skip to content

Commit

Permalink
ACL testcase fix for Cisco 8122 Platform (sonic-net#15404)
Browse files Browse the repository at this point in the history
* ACL testcase fix for Cisco 8122 Platform

* ACL testcase fix for Cisco 8122 Platform
  • Loading branch information
rajendrat authored and yutongzhang-microsoft committed Nov 21, 2024
1 parent 71fba4e commit f43950c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/acl/test_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,8 @@ def counters_sanity_check(self, duthosts, acl_rules, acl_table):
continue
counters_after[PACKETS_COUNT] += acl_facts[duthost]['after'][rule][PACKETS_COUNT]
counters_after[BYTES_COUNT] += acl_facts[duthost]['after'][rule][BYTES_COUNT]
if (duthost.facts["hwsku"] == "Cisco-8111-O64" or
duthost.facts["hwsku"] == "Cisco-8111-O32" or
duthost.facts["hwsku"] == "Cisco-8111-C32" or
duthost.facts["hwsku"] == "Cisco-8111-O62C2"):
if duthost.facts["platform"] in ["x86_64-8111_32eh_o-r0",
"x86_64-8122_64eh_o-r0", "x86_64-8122_64ehf_o-r0"]:
skip_byte_accounting = True

logger.info("Counters for ACL rule \"{}\" after traffic:\n{}"
Expand Down

0 comments on commit f43950c

Please sign in to comment.