Change in vdsm[master]: net: tests: test selective restore only if unified persistence

ibarkan at redhat.com ibarkan at redhat.com
Tue Jun 30 06:18:10 UTC 2015


Ido Barkan has uploaded a new change for review.

Change subject: net: tests: test selective restore only if unified persistence
......................................................................

net: tests: test selective restore only if unified persistence

testRestoreNetworksOnlyRestoreUnchangedDevices should be skipped if
the persistence mode is ifcfg.

Change-Id: I777bb8f440c2ba43735a8e8e29b95c895281957e
Signed-off-by: Ido Barkan <ibarkan at redhat.com>
---
M tests/functional/networkTests.py
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/27/43027/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 96e3b4e..980f945 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -1489,6 +1489,10 @@
 
     @cleanupNet
     def testRestoreNetworksOnlyRestoreUnchangedDevices(self):
+        if vdsm.config.config.get('vars', 'net_persistence') == 'ifcfg':
+            raise SkipTest(
+                "with ifcfg persistence, vdsm-restore-net-config selective"
+                "restoration is not supported")
         BOND_UNCHANGED = 'bond100'
         BOND_MISSING = 'bond102'
         IP_ADD_UNCHANGED = '240.0.0.100'


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I777bb8f440c2ba43735a8e8e29b95c895281957e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ido Barkan <ibarkan at redhat.com>


More information about the vdsm-patches mailing list