VirtualSystemManagementService - 11_define_memrasdunits.py: PASS
+1
On 04/04/2011 03:16 PM, Sharad Mishra wrote:
# HG changeset patch
# User Sharad Mishra<snmishra(a)us.ibm.com>
# Date 1301944448 25200
# Node ID 3a5abef07035297549e34542e7789bd4488a9e86
# Parent a68509f68d565c55afa4d89942b55eb10374b32e
[TEST] Proc RASD should not be null.
This test was failing on libvirt 0.8 and higher as it did not like an empty proc rasd.
Signed-off-by: Sharad Mishra<snmishra(a)us.ibm.com>
diff -r a68509f68d56 -r 3a5abef07035
suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py
---
a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py Thu
Mar 31 14:06:44 2011 -0700
+++
b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/11_define_memrasdunits.py Mon
Apr 04 12:14:08 2011 -0700
@@ -55,8 +55,6 @@
rasd['Limit'] = Uint64(value)
rasd['AllocationUnits'] = units
rasd_list[mrasd_cn] = inst_to_mof(rasd)
- else:
- rasd_list[rasd.classname] = None
if rasd_list[mrasd_cn] is None:
logger.error("Unable to get template MemRASD")
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Chip Vincent
Open Virtualization
IBM Linux Technology Center
cvincent(a)linux.vnet.ibm.com