From f63bf6a7d70fcd6595eb0a48ac0ea5088580f220 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Sat, 11 Jan 2020 17:57:31 +0000 Subject: 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 --- test/test_tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 """ -- cgit 1.2.3-korg