# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1258411652 28800
# Node ID 4747be9dd1dedd9acc45ebbff7793724f76ad604
# Parent 95cc631fc4581c9705ae93088688e1d3af28c55a
[TEST] Fix RASDIndication 01 test to prevent possible test hang
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 95cc631fc458 -r 4747be9dd1de
suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py
--- a/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Wed Nov 18
13:39:37 2009 -0800
+++ b/suites/libvirt-cim/cimtest/RASDIndications/01_guest_states_rasd_ind.py Mon Nov 16
14:47:32 2009 -0800
@@ -135,6 +135,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)