Skip to content

Commit

Permalink
Skip tests on dualtor topology (sonic-net#8564)
Browse files Browse the repository at this point in the history
Skip tests which do not support dualtor topology.
  • Loading branch information
congh-nvidia authored and parmarkj committed Oct 3, 2023
1 parent dbe6ed0 commit 79fdcb3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions tests/common/plugins/conditional_mark/tests_mark_conditions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,42 +327,46 @@ dut_console:
ecmp/inner_hashing/test_inner_hashing.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform"
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"

ecmp/inner_hashing/test_inner_hashing_lag.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform"
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"

ecmp/inner_hashing/test_wr_inner_hashing.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform"
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"

ecmp/inner_hashing/test_wr_inner_hashing_lag.py:
skip:
conditions_logical_operator: or
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform"
reason: "PBH introduced in 202111 and skip this test on Mellanox 2700 platform. Test does not support dualtor topology."
conditions:
- "branch in ['201811', '201911', '202012', '202106']"
- "platform in ['x86_64-mlnx_msn2700-r0']"
- "topo_type not in ['t0']"
- "asic_type not in ['mellanox']"
- "'dualtor' in topo_name"

ecmp/test_fgnhg.py:
skip:
Expand Down Expand Up @@ -507,11 +511,12 @@ http/test_http_copy.py:
#######################################
iface_loopback_action/test_iface_loopback_action.py:
skip:
reason: "Not working on non-mellanox platform or T1 topo"
reason: "Not working on non-mellanox platform or T1 topo. Test does not support dualtor topology."
conditions_logical_operator: "OR"
conditions:
- "asic_type not in ['mellanox'] and https://github.com/sonic-net/sonic-mgmt/issues/7704"
- "'t1' in topo_name"
- "'dualtor' in topo_name"

#######################################
##### iface_namingmode #####
Expand Down

0 comments on commit 79fdcb3

Please sign in to comment.