Skip to content

Commit

Permalink
Fix ASIC check in test_pfcwd_function (#16535) (#16539)
Browse files Browse the repository at this point in the history
Co-authored-by: bingwang-ms <[email protected]>
  • Loading branch information
mssonicbld and bingwang-ms authored Jan 16, 2025
1 parent 27b0f10 commit 9b999f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pfcwd/test_pfcwd_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,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,
Expand Down

0 comments on commit 9b999f7

Please sign in to comment.