Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/saitests/py3/sai_qos_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ def runTest(self):
cell_size = int(self.test_params['cell_size'])
if packet_length != 64:
cell_occupancy = (packet_length + cell_size - 1) // cell_size
pkts_num_trig_egr_drp /= cell_occupancy
pkts_num_trig_egr_drp //= cell_occupancy
# It is possible that pkts_num_trig_egr_drp * cell_occupancy < original pkts_num_trig_egr_drp,
# which probably can fail the assert(xmit_counters[EGRESS_DROP] > xmit_counters_base[EGRESS_DROP])
# due to not sending enough packets.
Expand Down