Change in vdsm[master]: test: mark testGetHostNameservers as broken

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Fri Sep 18 09:23:57 UTC 2015


Piotr Kliczewski has uploaded a new change for review.

Change subject: test: mark testGetHostNameservers as broken
......................................................................

test: mark testGetHostNameservers as broken

The test fails with:

  File
"/home/pkliczewski/rpmbuild/BUILD/vdsm-4.17.2/tests/netinfoTests.py",
line 61, in testGetHostNameservers
    with open(file_path, 'w') as file_object:
IOError: [Errno 13] Permission denied: '/etc/resolv.conf'


so it needs to be marked as broken


Change-Id: I9de50185490a079762328512b3e3b7c540068a42
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M tests/netinfoTests.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/46341/1

diff --git a/tests/netinfoTests.py b/tests/netinfoTests.py
index b894d46..baf9e4d 100644
--- a/tests/netinfoTests.py
+++ b/tests/netinfoTests.py
@@ -36,7 +36,7 @@
 from ipwrapperTests import _fakeTypeDetection
 from monkeypatch import MonkeyPatch, MonkeyPatchScope
 from testlib import VdsmTestCase as TestCaseBase, namedTemporaryDir
-from testValidation import ValidateRunningAsRoot, RequireBondingMod
+from testValidation import brokentest, ValidateRunningAsRoot, RequireBondingMod
 
 # speeds defined in ethtool
 ETHTOOL_SPEEDS = set([10, 100, 1000, 2500, 10000])
@@ -44,6 +44,7 @@
 
 class TestNetinfo(TestCaseBase):
 
+    @brokentest("Fails with Permission denied")
     def testGetHostNameservers(self):
         RESOLV_CONF = (
             '# Generated by NetworkManager\n'


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9de50185490a079762328512b3e3b7c540068a42
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>


More information about the vdsm-patches mailing list