Skip to content

Commit 4264107

Browse files
authored
Skip IPv6 mirror session on unsupported platforms in everflow_per_interface test (#22328)
Signed-off-by: bingwang <[email protected]>
1 parent 62bf97b commit 4264107

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/everflow/test_everflow_per_interface.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ def build_acl_rule_vars(candidate_ports, ip_ver, erspan_ip_ver): # noqa F811
8787

8888
@pytest.fixture(scope='module')
8989
def apply_mirror_session(setup_info, erspan_ip_ver): # noqa F811
90+
duthost_set = BaseEverflowTest.get_duthost_set(setup_info)
91+
for duthost in duthost_set:
92+
# Skip IPv6 mirror session due to issue #19096
93+
if duthost.facts['platform'] in ('x86_64-arista_7260cx3_64', 'x86_64-arista_7060_cx32s') and erspan_ip_ver == 6: # noqa E501
94+
pytest.skip("Skip IPv6 mirror session on unsupported platforms")
95+
9096
mirror_session_info = BaseEverflowTest.mirror_session_info(
9197
EVERFLOW_SESSION_NAME, setup_info[UP_STREAM]['everflow_dut'].facts["asic_type"])
9298
logger.info("Applying mirror session to DUT")

0 commit comments

Comments
 (0)