Skip to content

Commit 557e950

Browse files
Skip zmq/test_gnmi_zmq.py on all Arista platforms (sonic-net#17524)
What is the motivation for this PR? The test is written for smartswitch as it enabled this mode unconditionally: https://github.com/sonic-net/sonic-mgmt/blob/master/tests/zmq/test_gnmi_zmq.py#L54-L58 As of now none of the Arista platforms operate in this mode. How did you do it? Add a conditional mark to skip this on Arista platforms. How did you verify/test it? Ran this test on Arista-7260CX3 zmq/test_gnmi_zmq.py::test_gnmi_zmq SKIPPED (Test is for smartswitch)
1 parent 04f0eb0 commit 557e950

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/common/plugins/conditional_mark/tests_mark_conditions.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -2691,3 +2691,12 @@ wan/lacp/test_wan_lag_min_link.py::test_lag_min_link:
26912691
conditions:
26922692
- "len(minigraph_portchannels) < 2"
26932693
- "not any(len(v['members']) > 1 for _, v in minigraph_portchannels.items())"
2694+
2695+
#######################################
2696+
##### zmq #####
2697+
#######################################
2698+
zmq/test_gnmi_zmq.py:
2699+
skip:
2700+
reason: "Test is for smartswitch"
2701+
conditions:
2702+
- "'arista' in platform"

0 commit comments

Comments
 (0)