From c1f8c80af3416476e140087e89576f8d7d495c01 Mon Sep 17 00:00:00 2001 From: SuvarnaMeenakshi <50386592+SuvarnaMeenakshi@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:32:06 -0700 Subject: [PATCH] Skip condition to skip SNMP IPv6 test case in 202211 branch. (#9856) What is the motivation for this PR? #9630 was added skip IPv6 related SNMP test cases in 202211 branch. But the condition checks for branch name instead of release. This is causing PR checker to fail as the branch name in PR checker is the PR number and not 202211 How did you do it? Change condition to look for 202211 in release and not branch. --- .../plugins/conditional_mark/tests_mark_conditions.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml index aba80d1a5e9..96febf6bf97 100644 --- a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml +++ b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml @@ -1012,15 +1012,15 @@ show_techsupport/test_techsupport.py::test_techsupport: ####################################### snmp/test_snmp_link_local.py: skip: - reason: "SNMP over IPv6 support not present in 202211 branch." + reason: "SNMP over IPv6 support not present in 202211 release." conditions: - - "branch in ['202211']" + - "release in ['202211']" snmp/test_snmp_loopback.py: skip: - reason: "SNMP over Loopback IPv6 support not present in 202211 branch." + reason: "SNMP over Loopback IPv6 support not present in 202211 release." conditions: - - "branch in ['202211']" + - "release in ['202211']" snmp/test_snmp_pfc_counters.py: skip: