[rhmessaging-commits] rhmessaging commits: r2487 - mgmt/trunk/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed Sep 17 09:42:33 EDT 2008


Author: eallen
Date: 2008-09-17 09:42:33 -0400 (Wed, 17 Sep 2008)
New Revision: 2487

Modified:
   mgmt/trunk/cumin/python/cumin/job.py
Log:
Bump up timeout while waiting on GetAds to 20 seconds

Modified: mgmt/trunk/cumin/python/cumin/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.py	2008-09-17 13:41:55 UTC (rev 2486)
+++ mgmt/trunk/cumin/python/cumin/job.py	2008-09-17 13:42:33 UTC (rev 2487)
@@ -394,9 +394,9 @@
         model = self.app.model
         job.GetAd(model.data, completion, self.job_ads)
         
-        # wait for up to 10 seconds for completion to be called
-        wait(predicate, timeout=10)
         cls = self.app.model.get_class_by_object(job)
+        # wait for up to 20 seconds for completion to be called
+        timedout = wait(predicate, timeout=20)
 
         # list of dictionaries
         # each disctionary has:
@@ -618,9 +618,7 @@
 123.123.123.123 - - [26/Apr/2000:00:23:50 -0400] "GET /pics/5star.gif HTTP/1.0" 200 1031 "http://www.jafsoft.com/asctortf/" "Mozilla/4.05 (Macintosh; I; PPC)"
 123.123.123.123 - - [26/Apr/2000:00:23:51 -0400] "GET /pics/a2hlogo.jpg HTTP/1.0" 200 4282 "http://www.jafsoft.com/asctortf/" "Mozilla/4.05 (Macintosh; I; PPC)"
 123.123.123.123 - - [26/Apr/2000:00:23:51 -0400] "GET /cgi-bin/newcount?jafsof3&width=4&font=digital&noshow HTTP/1.0" 200 36 "http://www.jafsoft.com/asctortf/" "Mozilla/4.05 (Macintosh; I; PPC)"
-192.168.2.20 - - [28/Jul/2006:10:27:10 -0300] "GET /cgi-bin/try/ HTTP/1.0" 200 3395
-
-        """ 
+192.168.2.20 - - [28/Jul/2006:10:27:10 -0300] "GET /cgi-bin/try/ HTTP/1.0" 200 3395""" 
         return escape_entity(raw)
 
     class FetchButton(FormButton):




More information about the rhmessaging-commits mailing list