Skip to content

Commit 2e6f09c

Browse files
augusdnselldinesh
authored andcommitted
Update test_lldp.py test name after refactoring (#20864)
Description of PR We've refactored and changed test name in this PR #20782 But skip logic was applied to old test name. This PR address skip test name to skip correctly. Summary: Fixes # (issue) This pull request updates test case references in two YAML configuration files to improve accuracy and consistency in test skipping conditions. The main change is the renaming of a test related to LLDP neighbor verification after a reboot scenario. Test case reference updates: Renamed the test case from lldp/test_lldp.py::test_lldp_neighbor_post_orchagent_reboot to lldp/test_lldp.py::test_lldp_neighbor_post_swss_reboot in both tests/common/plugins/conditional_mark/tests_mark_conditions.yaml and tests/common/plugins/conditional_mark/tests_mark_conditions_sonic_vpp.yaml, ensuring the skip conditions apply to the correct test. [1] [2] signed-off-by: [email protected] Signed-off-by: selldinesh <[email protected]>
1 parent 92ca5c6 commit 2e6f09c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/common/plugins/conditional_mark/tests_mark_conditions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ lldp/test_lldp.py::test_lldp_neighbor:
27852785
conditions:
27862786
- "'standalone' in topo_name"
27872787

2788-
lldp/test_lldp.py::test_lldp_neighbor_post_orchagent_reboot:
2788+
lldp/test_lldp.py::test_lldp_neighbor_post_swss_reboot:
27892789
skip:
27902790
reason: "Not M0/Mx/M1 scenario"
27912791
conditions:

tests/common/plugins/conditional_mark/tests_mark_conditions_sonic_vpp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ ipfwd/test_nhop_group.py::test_nhop_group_member_order_capability:
753753
#######################################
754754
##### LLDP #####
755755
#######################################
756-
lldp/test_lldp.py::test_lldp_neighbor_post_orchagent_reboot:
756+
lldp/test_lldp.py::test_lldp_neighbor_post_swss_reboot:
757757
skip:
758758
reason: >
759759
Failed/Errored: To be included

0 commit comments

Comments
 (0)