Skip to content

Commit

Permalink
chore: support parallel for more tests (#16278)
Browse files Browse the repository at this point in the history
Description of PR
Support parallel run for more tests on Cisco 8800 chassis.

Summary:
Fixes # (issue) Microsoft ADO 29754370

Approach
What is the motivation for this PR?
We wanted to support parallel run for more tests on Cisco 8800 chassis to reduce the Nightly running time.

How did you do it?
How did you verify/test it?
I ran the test modules added in this PR in parallel and can confirm they all passed.

Any platform specific information?
Cisco 8800 chassis

Supported testbed topology if it's a new test case?
T2

co-authorized by: jianquanye@microsoft.com
  • Loading branch information
cyw233 authored Jan 3, 2025
1 parent d19f469 commit a351629
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/test_parallel_modes/cisco_t2_8800.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,32 @@
"arp/test_neighbor_mac_noptf.py": "FULL_PARALLEL",
"autorestart/test_container_autorestart.py": "RP_FIRST",
"bgp/test_bgp_fact.py": "FULL_PARALLEL",
"bgp/test_bgp_queue.py": "FULL_PARALLEL",
"bgp/test_bgp_session_flap.py": "FULL_PARALLEL",
"cacl/test_cacl_application.py": "FULL_PARALLEL",
"cacl/test_cacl_function.py": "FULL_PARALLEL",
"container_checker/test_container_checker.py": "RP_FIRST",
"crm/test_crm.py": "FULL_PARALLEL",
"iface_namingmode/test_iface_namingmode.py": "FULL_PARALLEL",
"lldp/test_lldp.py": "FULL_PARALLEL",
"lldp/test_lldp_syncd.py": "FULL_PARALLEL",
"memory_checker/test_memory_checker.py": "FULL_PARALLEL",
"override_config_table/test_override_config_table_masic.py": "FULL_PARALLEL",
"passw_hardening/test_passw_hardening.py": "FULL_PARALLEL",
"pc/test_po_cleanup.py": "FULL_PARALLEL",
"platform_tests/api/test_chassis.py": "FULL_PARALLEL",
"platform_tests/api/test_component.py": "FULL_PARALLEL",
"platform_tests/api/test_module.py": "FULL_PARALLEL",
"platform_tests/api/test_sfp.py": "FULL_PARALLEL",
"platform_tests/api/test_thermal.py": "FULL_PARALLEL",
"platform_tests/api/test_watchdog.py": "FULL_PARALLEL",
"platform_tests/cli/test_show_chassis_module.py": "FULL_PARALLEL",
"platform_tests/daemon/test_chassisd.py": "FULL_PARALLEL",
"platform_tests/link_flap/test_cont_link_flap.py": "FULL_PARALLEL",
"platform_tests/sfp/test_sfputil.py": "FULL_PARALLEL",
"platform_tests/sfp/test_show_intf_xcvr.py": "FULL_PARALLEL",
"platform_tests/test_memory_exhaustion.py": "RP_FIRST",
"platform_tests/test_port_toggle.py": "FULL_PARALLEL",
"platform_tests/test_reboot.py": "RP_FIRST",
"platform_tests/test_reload_config.py": "RP_FIRST",
"platform_tests/test_sequential_restart.py": "FULL_PARALLEL",
Expand All @@ -27,5 +36,9 @@
"snmp/test_snmp_cpu.py": "FULL_PARALLEL",
"snmp/test_snmp_interfaces.py": "FULL_PARALLEL",
"snmp/test_snmp_link_local.py": "FULL_PARALLEL",
"snmp/test_snmp_queue.py": "RP_FIRST"
"snmp/test_snmp_memory.py": "FULL_PARALLEL",
"snmp/test_snmp_queue.py": "RP_FIRST",
"tacacs/test_ro_disk.py": "RP_FIRST",
"test_features.py": "FULL_PARALLEL",
"test_interfaces.py": "FULL_PARALLEL"
}

0 comments on commit a351629

Please sign in to comment.