Skip to content

Commit

Permalink
[dvs] Mark unstable tests as xfail (sonic-net#1356)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall authored Jul 21, 2020
1 parent d2bab10 commit d5a18a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_nat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import time
import pytest

class TestNat(object):
def setup_db(self, dvs):
Expand Down Expand Up @@ -278,6 +279,7 @@ def test_DelTwiceNaPtStaticEntry(self, dvs, testlog):
# clear interfaces
self.clear_interfaces(dvs)

@pytest.mark.xfail(reason="Test unstable, blocking PR builds")
def test_VerifyConntrackTimeoutForNatEntry(self, dvs, testlog):
# initialize
self.setup_db(dvs)
Expand Down
1 change: 1 addition & 0 deletions tests/test_vrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def test_VRFMgr_Update(self, dvs, testlog):

self.vrf_remove(dvs, "Vrf_a", state)

@pytest.mark.xfail(reason="Test unstable, blocking PR builds")
def test_VRFMgr_Capacity(self, dvs, testlog):
self.setup_db(dvs)

Expand Down
2 changes: 2 additions & 0 deletions tests/test_warm_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import re
import time
import json
import pytest

from swsscommon import swsscommon

Expand Down Expand Up @@ -1796,6 +1797,7 @@ def test_routing_WarmRestart(self, dvs, testlog):
intf_tbl._del("{}".format(intfs[2]))
time.sleep(2)

@pytest.mark.xfail(reason="Test unstable, blocking PR builds")
def test_system_warmreboot_neighbor_syncup(self, dvs, testlog):

appl_db = swsscommon.DBConnector(swsscommon.APPL_DB, dvs.redis_sock, 0)
Expand Down

0 comments on commit d5a18a0

Please sign in to comment.