Skip L2 FIB flush tests 21/6821/1
authorNeale Ranns <nranns@cisco.com>
Mon, 22 May 2017 09:46:01 +0000 (02:46 -0700)
committerNeale Ranns <nranns@cisco.com>
Mon, 22 May 2017 09:46:06 +0000 (02:46 -0700)
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>
test/test_l2_fib.py

index c373b14..d911679 100644 (file)
@@ -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
         """