Change in vdsm[master]: net: tests: skip testRestoreToBlockingDHCP if ifcfg persistence
ibarkan at redhat.com
ibarkan at redhat.com
Sun Jul 12 10:28:38 UTC 2015
Ido Barkan has uploaded a new change for review.
Change subject: net: tests: skip testRestoreToBlockingDHCP if ifcfg persistence
......................................................................
net: tests: skip testRestoreToBlockingDHCP if ifcfg persistence
This test tests a part of vdsm-restore-net-config which runs only
if there is unified persistence.
Change-Id: I14e875c35a7fb4bcccd497db57d4a70661fe461b
Signed-off-by: Ido Barkan <ibarkan at redhat.com>
---
M tests/functional/networkTests.py
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/43441/1
diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 5752c7e..786442b 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -1445,6 +1445,11 @@
@RequireVethMod
@ValidateRunningAsRoot
def testRestoreToBlockingDHCP(self):
+ if vdsm.config.config.get('vars', 'net_persistence') == 'ifcfg':
+ raise SkipTest(
+ "with ifcfg persistence, vdsm-restore-net-config is not "
+ "relevant")
+
def _get_blocking_dhcp(net_name):
self.vdsm_net.refreshNetinfo()
return self.vdsm_net.config.networks[net_name].get('blockingdhcp')
--
To view, visit https://gerrit.ovirt.org/43441
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I14e875c35a7fb4bcccd497db57d4a70661fe461b
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