summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-01-23 18:51:33 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-01-23 18:51:33 -0500
commit33c6e4013874878f05eec593d69e8afdeaae212b (patch)
treee84879dd215ac90d20822ab0574dc1ab99b7ed8a /test
parent19e4d1ba808cbbe95568271a5b0075b8422e4fb6 (diff)
downloadthird_party-func-33c6e4013874878f05eec593d69e8afdeaae212b.tar.gz
third_party-func-33c6e4013874878f05eec593d69e8afdeaae212b.tar.xz
third_party-func-33c6e4013874878f05eec593d69e8afdeaae212b.zip
Working on async error handling, lots more to do...
(If it hits no exceptions, returns are right, it's the partial error case to deal with next...)
Diffstat (limited to 'test')
-rw-r--r--test/async_test.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/async_test.py b/test/async_test.py
index cec512b..4c99a56 100644
--- a/test/async_test.py
+++ b/test/async_test.py
@@ -11,7 +11,12 @@ def __tester(async):
client = Client("*",nforks=10,async=True)
oldtime = time.time()
print "asking minion to sleep for %s seconds" % TEST_SLEEP
- job_id = client.test.sleep(TEST_SLEEP)
+
+ # job_id = client.test.sleep(TEST_SLEEP)
+ job_id = client.hardware.info()
+ # job_id = client.test.explode()
+ # job_id = client.test.does_not_exist(1,2)
+
print "job_id = %s" % job_id
while True:
status = client.job_status(job_id)