Skip to content

Commit

Permalink
fix(tests): add pytest topology mark for test_srv6_basic_sanity test (#…
Browse files Browse the repository at this point in the history
…16545)

Signed-off-by: linsongnan <[email protected]>
  • Loading branch information
LARLSN authored Jan 25, 2025
1 parent 2443d70 commit 1934bee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/impacted_area_testing/get_test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def topo_name_to_topo_checker(topo_name):
pattern = re.compile(r'^(wan|wan-pub-isis|wan-com|wan-pub|wan-pub-cisco|wan-3link-tg|'
pattern = re.compile(r'^(ciscovs-7nodes|ciscovs-5nodes|wan|wan-pub-isis|wan-com|wan-pub|wan-pub-cisco|wan-3link-tg|'
r't0|t0-52|t0-mclag|mgmttor|m0|mc0|mx|'
r't1|t1-lag|t1-56-lag|t1-64-lag|'
r'ptf|fullmesh|dualtor|t2|tgen|multidut-tgen|dpu|any|snappi|util|'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@


def topo_name_to_type(topo_name):
pattern = re.compile(r'^(wan|t0|t1|ptf|fullmesh|dualtor|t2|tgen|multidut-tgen|mgmttor'
pattern = re.compile(r'^(ciscovs-5nodes|ciscovs-7nodes|wan|t0|t1|ptf|fullmesh|dualtor|t2|tgen|multidut-tgen|mgmttor'
r'|m0|mc0|mx|dpu|any|snappi|t0-sonic|t1-multi-asic|t0-2vlans)')
match = pattern.match(topo_name)
if match is None:
Expand Down
2 changes: 1 addition & 1 deletion tests/srv6/test_srv6_basic_sanity.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#
pytestmark = [
pytest.mark.disable_loganalyzer, # Disable automatic loganalyzer, since we use it for the test
pytest.mark.topology("any"),
pytest.mark.topology("ciscovs-7nodes"),
pytest.mark.skip_check_dut_health
]

Expand Down

0 comments on commit 1934bee

Please sign in to comment.