[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Revert the change to destroy all VMs when skipping or failing tests -- this



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID de8abd5ce652353c6ebd4f9e9047e10f7e28059f
# Parent  af10df2fed356a2700f7ce34638d6e9811baab74
Revert the change to destroy all VMs when skipping or failing tests -- this
needs more thought, because people shouldn't need to set up their Xen-API server
to run the non-Xen-API bits of the test, and at the moment, you get
authentication failures on every SKIP.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/xm-test/lib/XmTestLib/Test.py |    3 ---
 1 files changed, 3 deletions(-)

diff -r af10df2fed35 -r de8abd5ce652 tools/xm-test/lib/XmTestLib/Test.py
--- a/tools/xm-test/lib/XmTestLib/Test.py       Sat Dec 02 16:39:53 2006 +0000
+++ b/tools/xm-test/lib/XmTestLib/Test.py       Sun Dec 03 13:30:23 2006 +0000
@@ -33,7 +33,6 @@ import signal
 import signal
 import re
 import glob
-import xapi
 
 TEST_PASS = 0
 TEST_FAIL = 255
@@ -134,12 +133,10 @@ def becomeNonRoot():
 
 def FAIL(format, *args):
     print "\nREASON:", (format % args)
-    xapi.vm_destroy_all()
     sys.exit(TEST_FAIL)
 
 def SKIP(format, *args):
     print "\nREASON:", (format % args)
-    xapi.vm_destroy_all()
     sys.exit(TEST_SKIP)
 
 def saveLog(logText, filename=None):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.