Edward Haas has uploaded a new change for review.

Change subject: net tests: tcTests should run as root
......................................................................

net tests: tcTests should run as root

Mark that tcTests.TestConfigureOutbound tests should
run as root (otherwise, skip).

Change-Id: I3a6d85dcb5ac6b0d842b2547e7ea8a91bc6a742c
Signed-off-by: Edward Haas <[email protected]>
---
M tests/tcTests.py
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/94/50794/1

diff --git a/tests/tcTests.py b/tests/tcTests.py
index bb68963..a87e923 100644
--- a/tests/tcTests.py
+++ b/tests/tcTests.py
@@ -406,6 +406,7 @@
     def tearDown(self):
         self.device.remove()
 
+    @ValidateRunningAsRoot
     def test_single_non_vlan(self):
             qos.configure_outbound(HOST_QOS_OUTBOUND, self.device_name, None)
             tc_classes, tc_filters, tc_qdiscs = \
@@ -419,6 +420,7 @@
 
             self.assertEqual(len(tc_filters.tagged_filters), 0)
 
+    @ValidateRunningAsRoot
     @permutations([[1], [2]])
     def test_single_vlan(self, repeating_calls):
         with vlan_device(self.device_name) as vlan:
@@ -439,6 +441,7 @@
                 int(tc_filters.tagged_filters[0]['basic']['value']),
                 vlan.tag)
 
+    @ValidateRunningAsRoot
     def test_multiple_vlans(self):
         with vlan_device(self.device_name, tag=16) as vlan1:
             with vlan_device(self.device_name, tag=17) as vlan2:
@@ -467,6 +470,7 @@
                 self.assertEqual(current_tagged_filters_flow_id,
                                  expected_flow_ids)
 
+    @ValidateRunningAsRoot
     @stresstest
     @requires_iperf3
     @requires_tc


-- 
To view, visit https://gerrit.ovirt.org/50794
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a6d85dcb5ac6b0d842b2547e7ea8a91bc6a742c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to