aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-05-22 02:46:01 -0700
committerNeale Ranns <nranns@cisco.com>2017-05-22 02:46:06 -0700
commit4b8d3be9f4d5275ed0cc3701305958f9d74d18c1 (patch)
tree92e20d370a183476a5bd758a81650e9baf29448d
parente60959a2ad5b36e913c2ca92bcd52325ed9ecc89 (diff)
Skip L2 FIB flush tests
These tests attempt to flush static entries from a bridge-domain that has no aging configured. for both reasons it will fail. The fact thtat they occationally pass is due to the fact that the assert_nothing_cpatured does not actually capture packets, so it misses the fact that there are some. Change-Id: Ie5c98a42944e29a3d482156f7e9246511380372f Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r--test/test_l2_fib.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_l2_fib.py b/test/test_l2_fib.py
index c373b141c26..d911679c689 100644
--- a/test/test_l2_fib.py
+++ b/test/test_l2_fib.py
@@ -360,8 +360,11 @@ class TestL2fib(VppTestCase):
# Verify
# Verify outgoing packet streams per packet-generator interface
+ timeout = 1
for i in ifs:
+ i.get_capture(0, timeout=timeout)
i.assert_nothing_captured(remark="outgoing interface")
+ timeout = 0.1
def test_l2_fib_01(self):
""" L2 FIB test 1 - program 100 MAC addresses
@@ -412,6 +415,7 @@ class TestL2fib(VppTestCase):
# Test 4a
self.run_verify_negat_test(bd_id=1)
+ @unittest.skip("can't flush static entries")
def test_l2_fib_05(self):
""" L2 FIB test 5 - flush first interface
"""
@@ -422,6 +426,7 @@ class TestL2fib(VppTestCase):
self.run_verify_test(bd_id=1)
self.run_verify_negat_test(bd_id=1)
+ @unittest.skip("can't flush static entries")
def test_l2_fib_06(self):
""" L2 FIB test 6 - Program 20 new MAC entries
"""
@@ -432,6 +437,7 @@ class TestL2fib(VppTestCase):
self.run_verify_test(bd_id=1)
self.run_verify_test(bd_id=2)
+ @unittest.skip("can't flush static entries")
def test_l2_fib_07(self):
""" L2 FIB test 7 - flush bd_id
"""
@@ -439,6 +445,7 @@ class TestL2fib(VppTestCase):
self.run_verify_negat_test(bd_id=1)
self.run_verify_test(bd_id=2)
+ @unittest.skip("can't flush static entries")
def test_l2_fib_08(self):
""" L2 FIB test 8 - Program 20 new MAC entries
"""
@@ -449,6 +456,7 @@ class TestL2fib(VppTestCase):
self.run_verify_test(bd_id=1)
self.run_verify_test(bd_id=2)
+ @unittest.skip("can't flush static entries")
def test_l2_fib_09(self):
""" L2 FIB test 9 - flush all
"""
@@ -457,6 +465,7 @@ class TestL2fib(VppTestCase):
self.run_verify_negat_test(bd_id=1)
self.run_verify_negat_test(bd_id=2)
+ @unittest.skip("can't flush static entries")
def test_l2_fib_10(self):
""" L2 FIB test 10 - Program 20 new MAC entries
"""