Change in vdsm[master]: functional tests: virt: fix devices verification
ykaplan at redhat.com
ykaplan at redhat.com
Tue Jul 14 15:07:52 UTC 2015
Yeela Kaplan has uploaded a new change for review.
Change subject: functional tests: virt: fix devices verification
......................................................................
functional tests: virt: fix devices verification
Change-Id: I774dfdb3f0bde3822df383c54060b41ba7a2cda6
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M tests/functional/virtTests.py
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/43600/1
diff --git a/tests/functional/virtTests.py b/tests/functional/virtTests.py
index abe9297..72c8a76 100644
--- a/tests/functional/virtTests.py
+++ b/tests/functional/virtTests.py
@@ -220,10 +220,11 @@
timeout=10)
def _verifyDevices(self, vmId):
- status, msg, stats = self.vdsm.getVmList(vmId)
+ status, msg, stats = self.vdsm.getVmStats(vmId)
self.assertEqual(status, SUCCESS, msg)
- self.verifyDevicesConf(conf=stats['devices'])
+ if 'devices' in stats:
+ self.verifyDevicesConf(conf=stats['devices'])
@expandPermutations
--
To view, visit https://gerrit.ovirt.org/43600
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I774dfdb3f0bde3822df383c54060b41ba7a2cda6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>
More information about the vdsm-patches
mailing list