Skip to content

Commit 9b3c309

Browse files
authored
Ignore testcase in Debian Jessie (sonic-net#594)
1 parent 836e10a commit 9b3c309

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_vlan.py

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
import time
33
import re
44
import json
5+
import pytest
6+
import platform
7+
from distutils.version import StrictVersion
8+
59

610
class TestVlan(object):
711
def setup_db(self, dvs):
@@ -104,6 +108,9 @@ def test_VlanAddRemove(self, dvs):
104108
# remvoe vlan
105109
self.remove_vlan("2")
106110

111+
# Ignore testcase in Debian Jessie
112+
# TODO: remove this skip if we have fix
113+
@pytest.mark.skipif(StrictVersion(platform.linux_distribution()[1]) <= StrictVersion('8.9'), reason="Debian 8.9 or before has no support")
107114
def test_MultipleVlan(self, dvs):
108115
self.setup_db(dvs)
109116

0 commit comments

Comments
 (0)