+1
Sharad Mishra
System x Enablement
Linux Technology Center
IBM
Kaitlin Rupert
<kaitlin(a)linux.vn
et.ibm.com> To
Sent by: libvirt-cim(a)redhat.com
libvirt-cim-bounc cc
es(a)redhat.com
Subject
[Libvirt-cim] [PATCH] [TEST] Fix
11/25/2009 03:09 CSIndication and
PM CSMigrationIndication test to
prevent test hang
Please respond to
List for
discussion and
development of
libvirt CIM
<libvirt-cim@redh
at.com>
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1259190534 28800
# Node ID e369bd94cf37d5243d3e20b3b9920873b73c2fb3
# Parent 6beff15b1ec783d6d09e1ece57d1ba0be0a8e490
[TEST] Fix CSIndication and CSMigrationIndication test to prevent test hang
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 6beff15b1ec7 -r e369bd94cf37
suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py
---
a/suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py
Wed Nov 25 10:12:19 2009 -0800
+++
b/suites/libvirt-cim/cimtest/ComputerSystemIndication/01_created_indication.py
Wed Nov 25 15:08:54 2009 -0800
@@ -169,6 +169,9 @@
raise Exception("Unable to generate indication")
status = poll_for_ind(pid, ind)
+ if status != PASS:
+ raise Exception("Poll for indication Failed")
+
except Exception, details:
kill(pid, SIGKILL)
raise Exception(details)
diff -r 6beff15b1ec7 -r e369bd94cf37
suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py
---
a/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py
Wed Nov 25 10:12:19 2009 -0800
+++
b/suites/libvirt-cim/cimtest/ComputerSystemMigrationJobIndication/01_csmig_ind_for_offline_mig.py
Wed Nov 25 15:08:54 2009 -0800
@@ -166,6 +166,9 @@
raise Exception("Unable to generate indication")
status = poll_for_ind(pid, ind_name)
+ if status != PASS:
+ raise Exception("Poll for indication Failed")
+
except Exception, details:
kill(pid, SIGKILL)
raise Exception(details)
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim