Skip to content

Commit

Permalink
Ignore testcase in Debian Jessie (sonic-net#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Aug 24, 2018
1 parent 836e10a commit 9b3c309
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 9b3c309

Please sign in to comment.