summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfunc/overlord/client.py5
-rw-r--r--test/async_test.py8
2 files changed, 6 insertions, 7 deletions
diff --git a/func/overlord/client.py b/func/overlord/client.py
index a848cb8..f33bc4b 100755
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -265,9 +265,8 @@ class Client(object):
else:
# globbing is not being used, but still need to make sure
# URI is well formed.
- results = process_server(0, 0, self.servers)
- #expanded = expand_servers(self.server_spec, port=self.port, noglobs=True, verbose=self.verbose)[0]
-# results = process_server(0, 0, expanded)
+ expanded = expand_servers(self.server_spec, port=self.port, noglobs=True, verbose=self.verbose)[0]
+ results = process_server(0, 0, expanded)
return results
diff --git a/test/async_test.py b/test/async_test.py
index 4c99a56..9f70598 100644
--- a/test/async_test.py
+++ b/test/async_test.py
@@ -12,10 +12,10 @@ def __tester(async):
oldtime = time.time()
print "asking minion to sleep for %s seconds" % 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)
+ # job_id = client.test.sleep(TEST_SLEEP) # ok
+ # job_id = client.hardware.info() # ok
+ # job_id = client.test.explode() # doesn't work yet
+ job_id = client.test.does_not_exist(1,2) # ditto
print "job_id = %s" % job_id
while True: