Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_multidut_pfc_pause_lossy_with_snappi.py fix typo #15987

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading