Skip to content

Commit d5a18a0

Browse files
authored
[dvs] Mark unstable tests as xfail (sonic-net#1356)
Signed-off-by: Danny Allen <[email protected]>
1 parent d2bab10 commit d5a18a0

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

tests/test_nat.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import time
2+
import pytest
23

34
class TestNat(object):
45
def setup_db(self, dvs):
@@ -278,6 +279,7 @@ def test_DelTwiceNaPtStaticEntry(self, dvs, testlog):
278279
# clear interfaces
279280
self.clear_interfaces(dvs)
280281

282+
@pytest.mark.xfail(reason="Test unstable, blocking PR builds")
281283
def test_VerifyConntrackTimeoutForNatEntry(self, dvs, testlog):
282284
# initialize
283285
self.setup_db(dvs)

tests/test_vrf.py

+1
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def test_VRFMgr_Update(self, dvs, testlog):
248248

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

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

tests/test_warm_reboot.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import re
33
import time
44
import json
5+
import pytest
56

67
from swsscommon import swsscommon
78

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

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

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

0 commit comments

Comments
 (0)