I tried to use cim_define to fix this issue, but that didn't work for me.
So I added a 10 seconds delay at the beginning of this test that works for
Xen/XenFV.
Thanks!
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol(a)cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
libvirt-cim-bounces(a)redhat.com wrote on 2008-09-09 15:19:26:
# HG changeset patch
# User Guolian Yun <yunguol(a)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(a)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
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim