Skip to content

Commit

Permalink
chore: fix typo (#15987)
Browse files Browse the repository at this point in the history
Description of PR
Summary:
Fixes # (issue) 30112807

Type of change
Fix the typo for asic type

Signed-off-by: Austin Pham <[email protected]>
  • Loading branch information
auspham authored Dec 11, 2024
1 parent 12caaa8 commit da28241
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_pfc_pause_single_lossy_prio(snappi_api, # noqa: F811

flow_factor = 1

if snappi_ports[0]['asic_type'] == 'cisco-8800' and int(snappi_ports[0]['speed']) > 200000:
if snappi_ports[0]['asic_type'] == 'cisco-8000' and int(snappi_ports[0]['speed']) > 200000:
flow_factor = int(snappi_ports[0]['speed']) / 200000

run_pfc_test(api=snappi_api,
Expand Down Expand Up @@ -125,7 +125,7 @@ def test_pfc_pause_multi_lossy_prio(snappi_api, # noqa: F811

flow_factor = 1

if snappi_ports[0]['asic_type'] == 'cisco-8800' and int(snappi_ports[0]['speed']) > 200000:
if snappi_ports[0]['asic_type'] == 'cisco-8000' and int(snappi_ports[0]['speed']) > 200000:
flow_factor = int(snappi_ports[0]['speed']) / 200000

run_pfc_test(api=snappi_api,
Expand Down Expand Up @@ -192,7 +192,7 @@ def test_pfc_pause_single_lossy_prio_reboot(snappi_api, # noqa: F811

flow_factor = 1

if snappi_ports[0]['asic_type'] == 'cisco-8800' and int(snappi_ports[0]['speed']) > 200000:
if snappi_ports[0]['asic_type'] == 'cisco-8000' and int(snappi_ports[0]['speed']) > 200000:
flow_factor = int(snappi_ports[0]['speed']) / 200000

run_pfc_test(api=snappi_api,
Expand Down Expand Up @@ -254,7 +254,7 @@ def test_pfc_pause_multi_lossy_prio_reboot(snappi_api, # noqa: F811

flow_factor = 1

if snappi_ports[0]['asic_type'] == 'cisco-8800' and int(snappi_ports[0]['speed']) > 200000:
if snappi_ports[0]['asic_type'] == 'cisco-8000' and int(snappi_ports[0]['speed']) > 200000:
flow_factor = int(snappi_ports[0]['speed']) / 200000

run_pfc_test(api=snappi_api,
Expand Down

0 comments on commit da28241

Please sign in to comment.