From 06965fa3c3596ec9222fefa96bc07856f9ac97d1 Mon Sep 17 00:00:00 2001 From: Chenyang Wang <49756587+cyw233@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:47:42 +1100 Subject: [PATCH] chore: support parallel for more tests (#16278) 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 --- tests/test_parallel_modes/cisco_t2_8800.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/test_parallel_modes/cisco_t2_8800.json b/tests/test_parallel_modes/cisco_t2_8800.json index a33b3669293..75332de4426 100644 --- a/tests/test_parallel_modes/cisco_t2_8800.json +++ b/tests/test_parallel_modes/cisco_t2_8800.json @@ -2,22 +2,31 @@ "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", "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", @@ -26,5 +35,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" }