summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-01-24 18:23:05 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-01-24 18:23:05 -0500
commit1d60f197dab809e9a51c3377587d46370e698c52 (patch)
tree86ce24a3db9d182278f98300a29dd27f3d4f5b64 /test
parent48d76853216330d7c08b01b4241a90de7ece8033 (diff)
downloadthird_party-func-1d60f197dab809e9a51c3377587d46370e698c52.tar.gz
third_party-func-1d60f197dab809e9a51c3377587d46370e698c52.tar.xz
third_party-func-1d60f197dab809e9a51c3377587d46370e698c52.zip
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).
Diffstat (limited to 'test')
-rw-r--r--test/async_test.py4
1 files changed, 2 insertions, 2 deletions
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: