From 4b8d3be9f4d5275ed0cc3701305958f9d74d18c1 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 22 May 2017 02:46:01 -0700 Subject: 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 --- test/test_l2_fib.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/test_l2_fib.py b/test/test_l2_fib.py index c373b141..d911679c 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 """ -- cgit 1.2.3-korg