summaryrefslogtreecommitdiffstats
path: root/test/network/handler
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-06-19 22:18:55 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-06-19 22:18:55 +0000
commitd79a7888d172a0cde12508892364c68ef7b55e5f (patch)
tree9e64700cc0f9e39d69b1892e060d1cb0f4d751cc /test/network/handler
parent944e1f4ad477b2e9fbd5fc10be659cd4d9777b40 (diff)
Modified the fileserver to cache file information, so that
each file isn't being read on every connection. Also, added londo's patch from #678 to avoid reading entire files into memory. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2629 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/network/handler')
-rwxr-xr-xtest/network/handler/fileserver.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/network/handler/fileserver.rb b/test/network/handler/fileserver.rb
index 339c96bde..b81262947 100755
--- a/test/network/handler/fileserver.rb
+++ b/test/network/handler/fileserver.rb
@@ -702,6 +702,8 @@ class TestFileServer < Test::Unit::TestCase
end
def test_servinglinks
+ # Disable the checking, so changes propagate immediately.
+ Puppet[:filetimeout] = -5
server = nil
source = tempfile()
file = File.join(source, "file")