direct-io.hg

changeset 10702:ef8d08aa2072

[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@unisys.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 14 12:00:02 2006 +0100 (2006-07-14)
parents f35b9950843c
children fa143f374f3d
files tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py
line diff
     1.1 --- a/tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py	Fri Jul 14 11:58:17 2006 +0100
     1.2 +++ b/tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py	Fri Jul 14 12:00:02 2006 +0100
     1.3 @@ -73,9 +73,9 @@ if check_status and status != 0:
     1.4  
     1.5  # 5) check /proc/cpuinfo for cpu count
     1.6  
     1.7 -# 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. 
     1.8 +# 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. 
     1.9  #Sleep inside the loop for a second each time.
    1.10 -timeout = 20
    1.11 +timeout = 30
    1.12  starttime = time.time()
    1.13  while timeout + starttime > time.time():
    1.14  # Check /proc/cpuinfo
    1.15 @@ -108,8 +108,8 @@ if num_online != enforce_dom0_cpus:
    1.16  reset_vcpu_count()
    1.17  
    1.18  # check restore worked
    1.19 -# Since this also takes time, we will do it in a loop with a 20 second timeout.
    1.20 -timeout=20
    1.21 +# Since this also takes time, we will do it in a loop with a 30 second timeout.
    1.22 +timeout=30
    1.23  starttime=time.time()
    1.24  while timeout + starttime > time.time(): 
    1.25      num_online = int(getDomInfo("Domain-0", "VCPUs"))