tests: disable the tap test for the time being 91/24291/5
authorAndrew Yourtchenko <ayourtch@gmail.com>
Sat, 11 Jan 2020 17:57:31 +0000 (17:57 +0000)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Mon, 13 Jan 2020 14:55:07 +0000 (14:55 +0000)
TAP tests require root access, which breaks
the testing in unprivileged scenario.
Disable the test until we find consensus on how
to deal with it.

Type: test
Change-Id: I66ee2b130723233682d858cad0b6e424ab0b2383
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
test/test_tap.py

index 2e66da3..b47b1a2 100644 (file)
@@ -9,7 +9,7 @@ def check_tuntap_driver_access():
     return os.access("/dev/net/tun", os.R_OK and os.W_OK)
 
 
-@unittest.skipIf(check_tuntap_driver_access(), "Permission denied")
+@unittest.skip("Requires root")
 class TestTAP(VppTestCase):
     """ TAP Test Case """