diff --git a/tests/saitests/py3/sai_qos_tests.py b/tests/saitests/py3/sai_qos_tests.py index a2ffa360cac..710f8e73d9e 100755 --- a/tests/saitests/py3/sai_qos_tests.py +++ b/tests/saitests/py3/sai_qos_tests.py @@ -4514,7 +4514,7 @@ def runTest(self): time.sleep(8) if pg_min_pkts_num > 0 and check_leackout_compensation_support(asic_type, hwsku): - dynamically_compensate_leakout(self.src_client, asic_type, sai_thrift_read_port_counters, + dynamically_compensate_leakout(self.dst_client, asic_type, sai_thrift_read_port_counters, port_list['dst'][dst_port_id], TRANSMITTED_PKTS, xmit_counters_history, self, src_port_id, pkt, 40) @@ -4581,7 +4581,7 @@ def runTest(self): and (pkts_num <= 1 + margin) and check_leackout_compensation_support(asic_type, hwsku) ): - dynamically_compensate_leakout(self.src_client, asic_type, sai_thrift_read_port_counters, + dynamically_compensate_leakout(self.dst_client, asic_type, sai_thrift_read_port_counters, port_list['dst'][dst_port_id], TRANSMITTED_PKTS, xmit_counters_history, self, src_port_id, pkt, 40)