diff options
author | Florin Coras <fcoras@cisco.com> | 2019-07-02 19:33:15 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-07-03 22:02:10 +0000 |
commit | 0f46e1657c5e616d188efab7e40ed9eb8efca8f4 (patch) | |
tree | 3d0b28d896bd8e44e000895d19ddfa6a5fac8c03 | |
parent | 138945f71fef12b1417866f255eb2ae212862d90 (diff) |
vcl: disable ldp bidirectional multiple socket tests
Type: fix
Change-Id: I83778d897b6aa37a37ffdfa1d0932bb5e95225e2
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | test/test_vcl.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_vcl.py b/test/test_vcl.py index c10eea4594c..c25bad99923 100644 --- a/test/test_vcl.py +++ b/test/test_vcl.py @@ -21,7 +21,6 @@ def have_app(app): _have_iperf3 = have_app(iperf3) -_have_permissions = os.geteuid() == 0 class VCLAppWorker(Worker): @@ -185,7 +184,6 @@ class VCLTestCase(VppTestCase): self.vapi.session_enable_disable(is_enabled=0) @unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.") - @unittest.skipUnless(_have_permissions, 'Need to run as root. Skipping.') def thru_host_stack_test(self, server_app, server_args, client_app, client_args): self.env = {'VCL_API_PREFIX': self.shm_prefix, @@ -286,7 +284,6 @@ class LDPCutThruTestCase(VCLTestCase): "sock_test_client", self.client_echo_test_args) @unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.") - @unittest.skipUnless(_have_permissions, 'Need to run as root. Skipping.') def test_ldp_cut_thru_iperf3(self): """ run LDP cut thru iperf3 test """ @@ -304,6 +301,7 @@ class LDPCutThruTestCase(VCLTestCase): self.client_uni_dir_nsock_test_args) @unittest.skipUnless(running_extended_tests, "part of extended tests") + @unittest.skip("sock test apps need to be improved") def test_ldp_cut_thru_bi_dir_nsock(self): """ run LDP cut thru bi-directional (multiple sockets) test """ @@ -635,7 +633,6 @@ class LDPThruHostStackIperf(VCLTestCase): self.logger.debug(self.vapi.cli("show session verbose 2")) @unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.") - @unittest.skipUnless(_have_permissions, 'Need to run as root. Skipping.') def test_ldp_thru_host_stack_iperf3(self): """ run LDP thru host stack iperf3 test """ @@ -692,7 +689,6 @@ class LDPIpv6CutThruTestCase(VCLTestCase): self.client_ipv6_echo_test_args) @unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.") - @unittest.skipUnless(_have_permissions, 'Need to run as root. Skipping.') @unittest.skipUnless(running_extended_tests, "part of extended tests") def test_ldp_ipv6_cut_thru_iperf3(self): """ run LDP IPv6 cut thru iperf3 test """ @@ -711,6 +707,7 @@ class LDPIpv6CutThruTestCase(VCLTestCase): self.client_ipv6_uni_dir_nsock_test_args) @unittest.skipUnless(running_extended_tests, "part of extended tests") + @unittest.skip("sock test apps need to be improved") def test_ldp_ipv6_cut_thru_bi_dir_nsock(self): """ run LDP IPv6 cut thru bi-directional (multiple sockets) test """ |