summaryrefslogtreecommitdiffstats
path: root/spec/unit/network/xmlrpc/client.rb
Commit message (Collapse)AuthorAgeFilesLines
* [#3994] rename the specs to have _spec.rb at the endMarkus Roberts2010-06-231-171/+0
| | | | | | | | | Some spec files like active_record.rb had names that would confuse the load path and get loaded instead of the intended implentation when the spec was run from the same directory as the file. Author: Matt Robinson <matt@puppetlabs.com> Date: Fri Jun 11 15:29:33 2010 -0700
* Fixing a test broken by a log demotionLuke Kanies2009-02-141-2/+2
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #961 - closing the http connection after every xmlrpc callLuke Kanies2009-02-121-0/+22
| | | | | | | | There were apparently some circumstances that resulted in the connection not being closed; this just closes it every time if it's still open after the rpc call is complete. Signed-off-by: Luke Kanies <luke@madstop.com>
* Refactoring the XMLRPC::Client error-handlingLuke Kanies2009-02-121-7/+143
| | | | | | | | | | | | | | | | | I split it all into smaller, manageable chunks, and used methods for each step, instead of having one huge call. Note that I made all of the tests first, then refactored the code, so I'm confident there's no behavior change. I don't know that this is actually a lot cleaner, but it seems that way to me. I'm open to skipping this, but I think it makes the whole thing a lot cleaner. Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing the included testing gems; you must now install them yourself.Luke Kanies2008-11-251-0/+0
| | | | | | Everything passes, but autotest doesn't include color. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1473 - Rescue Timeout::Error in xmlrpc clientsAndrew Shafer2008-10-071-0/+13
| | | | | Added a rescue block for Timeout::Error (which isn't a subclass of StandardError) Removed a Dev Error conditional to facilitate testing
* Entirely refactoring http keep-alive. There's nowLuke Kanies2007-12-191-107/+0
| | | | | | | | a central module responsible for managing the http pool (Puppet::Network::HttpPool), and it also handles setting certificate information. This gets rid of what were otherwise long chains of method calls, and it makes the code paths much clearer.
* Fixing #961 -- closing existing, open connections whenLuke Kanies2007-12-171-1/+31
| | | | | a new connection is requested, and closing all connections at the end of each run.
* Fixing some further failing tests resulting from the fix forLuke Kanies2007-12-101-13/+11
|
* Updated tests for http_enable_post_connection_check configuration setting.Jeffrey J McCune2007-11-291-0/+10
|
* Fixing a couple of tests that were failing on a different platform or with a ↵Luke Kanies2007-11-281-1/+1
| | | | different version of ruby
* Integrating most of Matt Palmer's fromLuke Kanies2007-11-241-0/+69
http://theshed.hezmatt.org/mattshacks/puppet/_patches/puppet-0.23.2/. There are still a few that haven't made it in, notably those related to the plugins module, which I'm planning on integrating separately.