diff --git a/tests/acl/test_acl.py b/tests/acl/test_acl.py index 1831e1343f0..2908cfc2038 100644 --- a/tests/acl/test_acl.py +++ b/tests/acl/test_acl.py @@ -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{}"