[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID ef8d08aa2072b187a865f0827dc152fcc7afaf1d # Parent f35b9950843c7a8c82b29ab0870ae0836cc4faee [XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds. This is needed when dom0 has 32 CPUs. Signed-off-by: Susan Krysan <krysans@xxxxxxxxxx> --- tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff -r f35b9950843c -r ef8d08aa2072 tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py --- a/tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py Fri Jul 14 11:58:17 2006 +0100 +++ b/tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py Fri Jul 14 12:00:02 2006 +0100 @@ -73,9 +73,9 @@ if check_status and status != 0: # 5) check /proc/cpuinfo for cpu count -# It takes some time for the CPU count to change, on multi-proc systems, so check the number of procs in a loop for 20 seconds. +# It takes some time for the CPU count to change, on multi-proc systems, so check the number of procs in a loop for 30 seconds. #Sleep inside the loop for a second each time. -timeout = 20 +timeout = 30 starttime = time.time() while timeout + starttime > time.time(): # Check /proc/cpuinfo @@ -108,8 +108,8 @@ reset_vcpu_count() reset_vcpu_count() # check restore worked -# Since this also takes time, we will do it in a loop with a 20 second timeout. -timeout=20 +# Since this also takes time, we will do it in a loop with a 30 second timeout. +timeout=30 starttime=time.time() while timeout + starttime > time.time(): num_online = int(getDomInfo("Domain-0", "VCPUs")) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |