From 1d60f197dab809e9a51c3377587d46370e698c52 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 24 Jan 2008 18:23:05 -0500 Subject: Fixed async_test.py for all success/failure cases. Still need to tweak the code so that failure information for remote commands can be obtained (i.e. detals of the exceptions) without reading the remote logs. Async is weird because the information can't come back in faults (well, it can, but we don't want it to). --- test/async_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/async_test.py') diff --git a/test/async_test.py b/test/async_test.py index af5e55a..39a22b1 100644 --- a/test/async_test.py +++ b/test/async_test.py @@ -44,12 +44,12 @@ def __tester(async,test): return if code == jobthing.JOB_ID_RUNNING: print "task is still running, %s elapsed ..." % delta - elif code == jobthing.JOB_ID_ASYNC_STATUS: + elif code == jobthing.JOB_ID_ASYNC_PARTIAL: print "task reports partial status, %s elapsed, results = %s" % (delta, results) elif code == jobthing.JOB_ID_FINISHED: print "(non-async) task complete, %s elapsed, results = %s" % (delta, results) return - elif code == jobthing.JOB_ID_ASYNC_COMPLETE: + elif code == jobthing.JOB_ID_ASYNC_FINISHED: print "(async) task complete, %s elapsed, results = %s" % (delta, results) return else: -- cgit