Message ID | 20120103182913.14049.26324.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_dispatcher/actions/lava-test.py' --- lava_dispatcher/actions/lava-test.py 2011-12-15 00:54:40 +0000 +++ lava_dispatcher/actions/lava-test.py 2011-12-21 06:21:39 +0000 @@ -44,11 +44,13 @@ #Test if lava-test installed try: - session.run('lava-test help', response="list-test", timeout=60) + 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") + if rc != 0: + raise CriticalError("lava-test deployment failed") class cmd_lava_test_run(BaseAction):