[Libvirt-cim] [PATCH] [TEST] Add a 10s delay at the beginning of VSSD-04_vssd_to_rasd.py

yunguol at cn.ibm.com yunguol at cn.ibm.com
Tue Sep 9 07:19:26 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1220944761 25200
# Node ID 59e8fc595d8c4e5207cbea9736ac53a1fe83fb98
# Parent  8abcd820b6b37e5fbe8ccc30734cefa908dfab78
[TEST] Add a 10s delay at the beginning of VSSD-04_vssd_to_rasd.py

Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>

diff -r 8abcd820b6b3 -r 59e8fc595d8c suites/libvirt-cim/cimtest/VSSD/04_vssd_to_rasd.py
--- a/suites/libvirt-cim/cimtest/VSSD/04_vssd_to_rasd.py	Fri Sep 05 02:47:24 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VSSD/04_vssd_to_rasd.py	Tue Sep 09 00:19:21 2008 -0700
@@ -43,6 +43,7 @@
 
 import sys
 import XenKvmLib
+from time import sleep
 from XenKvmLib import enumclass
 from CimTest.Globals import logger, CIM_ERROR_ASSOCIATORS, CIM_ERROR_ENUMERATE
 from XenKvmLib.const import do_main 
@@ -204,7 +205,9 @@ def main():
         test_disk = "xvda"
     else:
         test_disk = "hda"
-
+    
+    if virt == 'Xen' or virt == 'XenFV':
+        sleep(10)
     status, vsxml = setup_env(virt)
     if status != PASS:
         return status




More information about the Libvirt-cim mailing list