Commit Graph

8 Commits

Author SHA1 Message Date
Prasanna Santhanam c2cd63dc2b adding retry logic, error handling, and urllib2 used for managing connections
reviewed-by: edison
2012-02-29 12:10:57 +05:30
Prasanna Santhanam fea9aba986 The HTTPConnection object times out too soon when status is being polled. This
depends on python's internal socket implementation. Added an explicit 3m
timeout. Test code MUST NOT induce sleeps longer than 3m, instead check status
periodically to keep the HTTPConnection alive.
reviewed-by: Chirag Jog <chirag@clogeny.com>
2012-02-23 18:47:04 +05:30
Prasanna Santhanam 8efacc97a6 * when httplib.Connection fails to get response it prevents further requests on
the connection - shallow copy and create a new connection object when this
happens

* timeout the SSH client to speed up tests
2012-01-22 22:07:59 +05:30
Edison Su fbdda7d5db testclient: fix fix asyn job query for sync command 2011-08-25 17:18:47 -07:00
Edison Su d7726fe59b TestClient: use json instead of painful XML 2011-08-25 17:18:47 -07:00
Edison Su 7b034a68c0 TESTClient: more features: all the api will go through 8080 with apikey/securitykey, both keys are generated dynamically when you deploy your setup, add list/map type for api, and bug fix 2011-08-24 18:45:11 -07:00
Edison Su 019ed5f7a5 TESTClient: async job threads can exit after job pool is empty 2011-08-23 11:44:26 -07:00
Edison Su 1cb9773d1a fix typo 2011-08-10 18:36:42 -07:00