diff --git a/tests/test_vlan.py b/tests/test_vlan.py index d9f063f1c9c5..498a296fc978 100644 --- a/tests/test_vlan.py +++ b/tests/test_vlan.py @@ -2,6 +2,10 @@ import time import re import json +import pytest +import platform +from distutils.version import StrictVersion + class TestVlan(object): def setup_db(self, dvs): @@ -104,6 +108,9 @@ def test_VlanAddRemove(self, dvs): # remvoe vlan self.remove_vlan("2") + # Ignore testcase in Debian Jessie + # TODO: remove this skip if we have fix + @pytest.mark.skipif(StrictVersion(platform.linux_distribution()[1]) <= StrictVersion('8.9'), reason="Debian 8.9 or before has no support") def test_MultipleVlan(self, dvs): self.setup_db(dvs)