summaryrefslogtreecommitdiffstats
path: root/test/ral
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-19 11:42:22 -0600
committerLuke Kanies <luke@madstop.com>2007-12-19 11:42:22 -0600
commit553b2ad8add20cd629fcd90b512d97d4edd7e481 (patch)
tree23acf8bf35ad697565647dac9c387d843552ba58 /test/ral
parent5252f02dba8ef35db77ecb2d9bf711c1fd0b0bb2 (diff)
Entirely refactoring http keep-alive. There's now
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.
Diffstat (limited to 'test/ral')
-rwxr-xr-xtest/ral/types/filesources.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ral/types/filesources.rb b/test/ral/types/filesources.rb
index 0f283be79..02bf8a5b3 100755
--- a/test/ral/types/filesources.rb
+++ b/test/ral/types/filesources.rb
@@ -22,6 +22,11 @@ class TestFileSources < Test::Unit::TestCase
Puppet[:filetimeout] = -1
Puppet::Util::SUIDManager.stubs(:asuser).yields
end
+
+ def teardown
+ super
+ Puppet::Network::HttpPool.clear_http_instances
+ end
def use_storage
begin