diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 212: fix lava-test installation detection

Message ID 20120130175714.11573.23892.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson Jan. 30, 2012, 5:57 p.m. UTC
Merge authors:
  Paul Larson <paul.larson@linaro.org>
Related merge proposals:
  https://code.launchpad.net/~pwlars/lava-dispatcher/fix-lava-test-install/+merge/90735
  proposed by: Paul Larson (pwlars)
  review: Approve - Zygmunt Krynicki (zkrynicki)
------------------------------------------------------------
revno: 212 [merge]
committer: Paul Larson <paul.larson@linaro.org>
branch nick: lava-dispatcher
timestamp: Mon 2012-01-30 11:55:51 -0600
message:
  fix lava-test installation detection
modified:
  doc/changes.rst
  lava_dispatcher/actions/lava-test.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'doc/changes.rst'
--- doc/changes.rst	2012-01-30 17:54:30 +0000
+++ doc/changes.rst	2012-01-30 17:55:51 +0000
@@ -9,6 +9,7 @@ 
 * Fix problem when reporting failure messages that contain unicode
 * Refactor click-through workaround, and add support for new omap3
   hwpacks
+* fix lava-test installation detection
 
 .. _version_0_4_5:
 

=== modified file 'lava_dispatcher/actions/lava-test.py'
--- lava_dispatcher/actions/lava-test.py	2011-12-21 06:21:39 +0000
+++ lava_dispatcher/actions/lava-test.py	2012-01-30 16:57:54 +0000
@@ -44,11 +44,7 @@ 
 
     #Test if lava-test installed
     try:
-        rc = session.run('lava-test help', response="list-test", timeout=60)
-    except:
-        tb = traceback.format_exc()
-        client.sio.write(tb)
-        raise CriticalError("lava-test deployment failed")
+        rc = session.run('lava-test help', timeout=60)
     if rc != 0:
         raise CriticalError("lava-test deployment failed")