Re: [libvirt] [libvirt-test-api][PATCH 2/3] Add getCellsFreeMemory test case

2015-04-24 Thread hujianwei
On 22/04/15 21:00, Luyao Huang wrote: It is hard to check if the free memory for each node is right, because memory change too fast in most machine (even machine in low load). Get this free memory 1000 times and get the Standard Deviation via get_standard_deviation(). 177 is a expectations get

Re: [libvirt] [libvirt-test-API][PATCH v2 2/2] Add test cases for linux_domain

2015-03-12 Thread hujianwei
On 12/03/15 11:11, Jincheng Miao wrote: Signed-off-by: Jincheng Miao jm...@redhat.com --- cases/linux_domain.conf | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/cases/linux_domain.conf b/cases/linux_domain.conf index 515858a..f3f714f

Re: [libvirt] [libvirt-test-API][PATCH 1/2] Add guest setTime and getTime testing

2015-03-12 Thread hujianwei
On 10/03/15 17:29, Jincheng Miao wrote: Signed-off-by: Jincheng Miao jm...@redhat.com --- repos/domain/guest_time.py | 98 repos/domain/set_guest_time.py | 122 2 files changed, 220 insertions(+), 0 deletions(-)

Re: [libvirt] [libvirt-test-API][PATCH v2 0/2] Add test cases for setTime and getTime

2015-03-12 Thread hujianwei
On 12/03/15 11:11, Jincheng Miao wrote: create some test cases for libvirt-python API setTime and getTime v2: user should pass 'seconds' to set_guest_time, and 'nseconds' is optional. Jincheng Miao (2): Add guest setTime and getTime testing Add test cases for linux_domain

Re: [libvirt] [libvirt-test-API][PATCH 2/2] Add connection_getAllDomainStats test case

2015-03-12 Thread hujianwei
On 11/03/15 17:14, hongming wrote: Hi jiahu Please add the following api calling to your case, we can test them using the same checking methods . def domainListGetStats(self, doms, stats=0, flags=0): Query statistics for given domains. Thanks Hongming OK, the V2 patch series has been

Re: [libvirt] [PATCH 0/3] fsfreeze and fsthaw API testing

2015-02-13 Thread hujianwei
On 04/02/15 17:16, Jincheng Miao wrote: Added guest agent conf to domain xml in order to test API fsfreeze and fsthaw. Jincheng Miao (3): add guest agent configuration to domain xml Here is a conflict with your former commit 9d0feb81224075daa82, please check it again. Add domain fsfreeze

Re: [libvirt] [libvirt-test-API][PATCH] Remove redundant colon in inteface list

2015-01-07 Thread hujianwei
On 08/01/15 11:14, hongming wrote: On 01/07/2015 10:00 PM, jiahu wrote: The interface list should be: ['em1', 'lo', 'virbr0', 'wlp3s0'] rather than below: ['em1:', 'lo:', 'virbr0:', 'wlp3s0:'] --- repos/interface/iface_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [libvirt] [PATCH] To provide more accurate help messages of iface/net/pool-define in virsh help and man virsh

2014-08-13 Thread hujianwei
On 13/08/14 18:30, Martin Kletzander wrote: On Mon, Jul 28, 2014 at 03:20:25PM +0800, Jianwei Hu wrote: --- tools/virsh-interface.c | 4 ++-- tools/virsh-network.c | 4 ++-- tools/virsh-pool.c | 4 ++-- tools/virsh.pod | 8 +--- 4 files changed, 11 insertions(+), 9 deletions(-)

Re: [libvirt] [PATCH] To provide more accurate help messages of iface/net/pool-define in virsh help and man virsh

2014-08-13 Thread hujianwei
On 14/08/14 00:25, Eric Blake wrote: On 07/28/2014 01:20 AM, Jianwei Hu wrote: --- Long subject line. Please try to keep patch subjects around 60 characters or less (look at 'git shortlog -30' to see examples), and limited to just the what. Then use the body of the commit to give the why.