[libvirt] [libvirt-test-api][PATCH] fix imperfect cleanup cause the case will always fail

hongming honzhang at redhat.com
Mon Jun 1 23:44:30 UTC 2015


ACK and Pushed

On 05/15/2015 09:59 AM, Luyao Huang wrote:
> Remove call undefined function.
>
> Signed-off-by: Luyao Huang <lhuang at redhat.com>
> ---
>   repos/virconn/connection_getMemoryParameters.py | 4 ----
>   1 file changed, 4 deletions(-)
>
> diff --git a/repos/virconn/connection_getMemoryParameters.py b/repos/virconn/connection_getMemoryParameters.py
> index 9b88fc3..d110b35 100644
> --- a/repos/virconn/connection_getMemoryParameters.py
> +++ b/repos/virconn/connection_getMemoryParameters.py
> @@ -16,7 +16,6 @@ node_memory = ['full_scans',
>                  'sleep_millisecs']
>   
>   SYSFS_MEMORY_SHARED_PATH = '/sys/kernel/mm/ksm/'
> -LIBVIRT_API_PATH = '/usr/share/libvirt/api/libvirt-api.xml'
>   flags=0
>   
>   def check_memory_parameter(libvirt_dict, parameter_name):
> @@ -47,9 +46,6 @@ def connection_getMemoryParameters(params):
>   
>           logger.info("get connection to libvirtd")
>   
> -        if utils.check_flags('getMemoryParameters', LIBVIRT_API_PATH) == 1:
> -            return 1
> -
>           param_dict=conn.getMemoryParameters()
>   
>           for n in node_memory:




More information about the libvir-list mailing list