Skip to content

Commit d16a7d8

Browse files
xwjiang-mswangxin
authored andcommitted
Fix xfail for dir_bcast in dualtor (#6477)
What is the motivation for this PR? xfail for dir_bcast in dualtor didn't work because 'dualtor' is not 'topo_type' How did you do it? Use 'topo_name' for dualtor instead of 'topo_type' Fix order of conditional mark How did you verify/test it? Run test Any platform specific information? Supported testbed topology if it's a new test case?
1 parent 6d6ca7d commit d16a7d8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

tests/common/plugins/conditional_mark/tests_mark_conditions.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,11 @@ ipfwd/test_dir_bcast.py:
457457
skip:
458458
reason: "Unsupported topology."
459459
conditions:
460-
- "topo_type not in ['t0', 'm0', 'mx', 'dualtor']"
460+
- "topo_type not in ['t0', 'm0', 'mx']"
461461
xfail:
462462
reason: "Dualtor do not support now, need to fix in buildimage."
463463
conditions:
464-
- "topo_type in ['dualtor']"
464+
- "'dualtor' in topo_name"
465465
- https://github.com/sonic-net/sonic-buildimage/issues/12167
466466

467467
ipfwd/test_mtu.py:
@@ -500,6 +500,15 @@ mpls/test_mpls.py:
500500
conditions:
501501
- "asic_type in ['barefoot']"
502502

503+
#######################################
504+
##### mvrf #####
505+
#######################################
506+
mvrf:
507+
skip:
508+
reason: "M0 topo does not support mvrf"
509+
conditions:
510+
- "topo_name in ['m0']"
511+
503512
#######################################
504513
##### nat #####
505514
#######################################

0 commit comments

Comments
 (0)