Change in vdsm[master]: test: fix typos and repair vmTests

fromani at redhat.com fromani at redhat.com
Tue Sep 16 07:50:52 UTC 2014


Francesco Romani has uploaded a new change for review.

Change subject: test: fix typos and repair vmTests
......................................................................

test: fix typos and repair vmTests

A couple of errors sneaked into master after commit 2ec1f8e7cb8c
likely because automation test has whitelisting to avoid excessive load.
This patch fixes that.

Change-Id: I7af4632921b84ae4376a64c0ee45e4393030cd97
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M tests/vmTests.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/65/32965/1

diff --git a/tests/vmTests.py b/tests/vmTests.py
index 21e50e8..10d347c 100644
--- a/tests/vmTests.py
+++ b/tests/vmTests.py
@@ -1312,7 +1312,7 @@
                 },
                 log=self.log,
                 index=0,
-                device="hdd",
+                device="disk",
                 path="/dev/dummy",
                 type=vm.DISK_DEVICES,
                 iface="ide",
@@ -1343,7 +1343,7 @@
             for drive in drives:
                 machine._devices[drive.type].append(drive)
 
-            self.assertEqual(machine.sdId, set([domainID]))
+            self.assertEqual(machine.sdIds, set([domainID]))
 
     def testGetUnderlyingGraphicsDeviceInfo(self):
         port = '6000'


-- 
To view, visit http://gerrit.ovirt.org/32965
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7af4632921b84ae4376a64c0ee45e4393030cd97
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>


More information about the vdsm-patches mailing list