From b92af5a1a400b6ae3b4c656af92bde056d6b4474 Mon Sep 17 00:00:00 2001 From: bingwang-ms <66248323+bingwang-ms@users.noreply.github.com> Date: Wed, 15 Jan 2025 17:29:25 -0800 Subject: [PATCH] Fix ASIC check in test_pfcwd_function (#16535) --- tests/pfcwd/test_pfcwd_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pfcwd/test_pfcwd_function.py b/tests/pfcwd/test_pfcwd_function.py index 8772c6b55e2..1657843a331 100644 --- a/tests/pfcwd/test_pfcwd_function.py +++ b/tests/pfcwd/test_pfcwd_function.py @@ -754,7 +754,7 @@ def storm_detect_path(self, dut, port, action): if self.pfc_wd['fake_storm']: PfcCmd.set_storm_status(dut, self.queue_oid, "enabled") - if dut.facts['asic_type'] == ["mellanox", "cisco-8000"]: + if dut.facts['asic_type'] in ["mellanox", "cisco-8000"]: # On Mellanox platform, more time is required for PFC storm being triggered # as PFC pause sent from Non-Mellanox leaf fanout is not continuous sometimes. pytest_assert(wait_until(PFC_STORM_TIMEOUT, 2, 0,