[Libvirt-cim] [PATCH] [TEST]Remove debug info in HostSystem/04_hs_to_EAPF.py

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Dec 1 18:48:15 UTC 2008


yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1228100328 28800
> # Node ID 675eff8dc548a08e67f344cbaf93a6db458db601
> # Parent  8807a94aa58a411d8596e717674c91c937881247
> [TEST]Remove debug info in HostSystem/04_hs_to_EAPF.py
> 
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> 
> diff -r 8807a94aa58a -r 675eff8dc548 suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py
> --- a/suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py	Mon Nov 24 22:08:51 2008 -0800
> +++ b/suites/libvirt-cim/cimtest/HostSystem/04_hs_to_EAPF.py	Sun Nov 30 18:58:48 2008 -0800
> @@ -259,7 +259,6 @@
>      host_cn  = host_inst.CreationClassName 
>      an  = get_typed_class(virt, "HostedResourcePool")
>      qcn = "Device Pool"
> -    logger.error("DEBUG host_name is %s", host_name)
>      status, pool = get_assocname_info(server, host_cn, an, qcn, host_name)
>      if status != PASS:
>          vsxml.undefine(server)
> @@ -270,7 +269,7 @@
>      if virt == 'LXC':
>          exp_len = 1
>      else:
> -        exp_len = 6
> +        exp_len = 4

The expected len here depends on the version of the providers you're 
testing on.  You'll need to add a branch here to ensure this test works 
for recent providers as well as the F9 rpm.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list