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>
diff --git a/test/test_l2_fib.py b/test/test_l2_fib.py
index c373b14..d911679 100644
--- a/test/test_l2_fib.py
+++ b/test/test_l2_fib.py
@@ -360,8 +360,11 @@
# 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 @@
# 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 @@
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 @@
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 @@
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 @@
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 @@
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
"""