From c28f5915ee13fe273bb4a6bb7ee86c027b2e0c3f Mon Sep 17 00:00:00 2001 From: rraghav-cisco <58446052+rraghav-cisco@users.noreply.github.com> Date: Fri, 6 Dec 2024 01:25:06 -0800 Subject: [PATCH] Disable pfcwd for pfc_lossless. (#15887) Description of PR The pfc lossless test assume pfcwd is disabled. But this test: test_pfc_pause_multi_lossless_prio is not provided the fixture: "disable_pfcwd" which is used by all other tests in the same script. This causes this test to fail since the pfcwd is triggered and packets are dropped. Approach What is the motivation for this PR? this test is failing with this error: Failed: Total TX bytes 841563217920 should be smaller than DUT buffer size 67108864 How did you do it? Disable pfcwd during the test using the fixture, that is already used by other tests in the same script. How did you verify/test it? Ran it on my TB: co-authorized by: jianquanye@microsoft.com --- .../multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py b/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py index bc131deb4fc..f1346df8ba0 100644 --- a/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py +++ b/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py @@ -93,6 +93,7 @@ def test_pfc_pause_multi_lossless_prio(snappi_api, # noqa: F81 lossless_prio_list, # noqa: F811 get_snappi_ports, # noqa: F811 tbinfo, + disable_pfcwd, # noqa: F811 setup_ports_and_dut): # noqa: F811 """