diff --git a/tests/snappi_tests/multidut/ecn/files/multidut_helper.py b/tests/snappi_tests/multidut/ecn/files/multidut_helper.py index f1779bb2461..33c078ffb2e 100644 --- a/tests/snappi_tests/multidut/ecn/files/multidut_helper.py +++ b/tests/snappi_tests/multidut/ecn/files/multidut_helper.py @@ -6,7 +6,7 @@ snappi_api # noqa: F401 from tests.common.snappi_tests.snappi_helpers import get_dut_port_id from tests.common.snappi_tests.common_helpers import pfc_class_enable_vector, config_wred, \ - enable_ecn, config_ingress_lossless_buffer_alpha, stop_pfcwd, disable_packet_aging, \ + enable_ecn, config_ingress_lossless_buffer_alpha, stop_pfcwd, disable_packet_aging,\ config_capture_pkt, traffic_flow_mode, calc_pfc_pause_flow_rate # noqa: F401 from tests.common.snappi_tests.read_pcap import get_ipv4_pkts from tests.common.snappi_tests.snappi_test_params import SnappiTestParams @@ -375,18 +375,6 @@ def run_ecn_marking_port_toggle_test( rx_port = snappi_extra_params.multi_dut_params.multi_dut_ports[0] egress_duthost = rx_port['duthost'] - tx_port = snappi_extra_params.multi_dut_params.multi_dut_ports[1] - ingress_duthost = tx_port['duthost'] - - pytest_assert(testbed_config is not None, 'Failed to get L2/3 testbed config') - - logger.info("Stopping PFC watchdog") - stop_pfcwd(egress_duthost, rx_port['asic_value']) - stop_pfcwd(ingress_duthost, tx_port['asic_value']) - logger.info("Disabling packet aging if necessary") - disable_packet_aging(egress_duthost) - disable_packet_aging(ingress_duthost) - duthost = egress_duthost init_ctr_3 = get_npu_voq_queue_counters(duthost, dut_port, test_prio_list[0])