Skip to content

Commit f4ce5fb

Browse files
authored
update pg_watermark_test (#5851)
1 parent ff51d29 commit f4ce5fb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/saitests/switch.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -770,10 +770,7 @@ def sai_thrift_read_pg_drop_counters(client, port_id):
770770
return pg_cntrs
771771

772772
def sai_thrift_read_pg_shared_watermark(client, asic_type, port_id):
773-
if 'cisco-8000' in asic_type:
774-
pg_cntr_ids = [SAI_INGRESS_PRIORITY_GROUP_STAT_CURR_OCCUPANCY_BYTES]
775-
else:
776-
pg_cntr_ids = [SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES]
773+
pg_cntr_ids = [SAI_INGRESS_PRIORITY_GROUP_STAT_SHARED_WATERMARK_BYTES]
777774

778775
# fetch pg ids under port id
779776
pg_ids = []

0 commit comments

Comments
 (0)