summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2020-01-11 17:57:31 +0000
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-01-13 14:55:07 +0000
commitf63bf6a7d70fcd6595eb0a48ac0ea5088580f220 (patch)
treecd6ae1847e6c945e124b3c452ee66d9106d8dc6a /test
parent1c6486f7b8a00a1358d5c8f4ea1d874073bbcd6c (diff)
tests: disable the tap test for the time being
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>
Diffstat (limited to 'test')
-rw-r--r--test/test_tap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tap.py b/test/test_tap.py
index 2e66da30c02..b47b1a275a0 100644
--- a/test/test_tap.py
+++ b/test/test_tap.py
@@ -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 """