# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1220941374 25200
# Node ID 25c48331735e8975a715ba3464d38e9f21f9be12
# Parent 8abcd820b6b37e5fbe8ccc30734cefa908dfab78
[TEST] Add 10 seconds delay at the beginning of LogicalDisk-02_nodevs.py for Xen/XenFV
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 8abcd820b6b3 -r 25c48331735e suites/libvirt-cim/cimtest/LogicalDisk/02_nodevs.py
--- a/suites/libvirt-cim/cimtest/LogicalDisk/02_nodevs.py Fri Sep 05 02:47:24 2008 -0700
+++ b/suites/libvirt-cim/cimtest/LogicalDisk/02_nodevs.py Mon Sep 08 23:22:54 2008 -0700
@@ -25,6 +25,7 @@
import sys
import pywbem
+from time import sleep
from VirtLib import live
from XenKvmLib import devices
from CimTest.Globals import logger, CIM_ERROR_ENUMERATE
@@ -53,7 +54,8 @@ def main():
if not clean_system(options.ip, options.virt):
logger.error("System has defined domains; unable to run")
return SKIP
-
+ if options.virt == 'Xen' or options.virt == 'XenFV':
+ sleep(10)
key_list = ["DeviceID", "CreationClassName",
"SystemName",
"SystemCreationClassName"]