diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-23 10:53:27 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-23 10:53:27 -0800 |
commit | 8b1052a21db688440b9a002a4bf127a5118d0b5a (patch) | |
tree | 97d90ef2be18ff52b8c1925bddd2774cfb700f8d /lib/chef/http.rb | |
parent | bc98db2fd24d75443d048a83ae1844eec7499507 (diff) | |
download | chef-8b1052a21db688440b9a002a4bf127a5118d0b5a.tar.gz |
speed up http func testslcg/speed-up-http-func-tests
For the truncated downloads the tiny server needs to hit its
RequestTimeout in order to terminate the truncated request, so that
is set to 1 second. Then also drop down the retries and the
rest_timeout on the client side (but keep the rest_timeout to 2 to
keep it above the tiny_server timeout)
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r-- | lib/chef/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb index c9df4e1235..241806da4e 100644 --- a/lib/chef/http.rb +++ b/lib/chef/http.rb @@ -5,7 +5,7 @@ # Author:: Christopher Brown (<cb@chef.io>) # Author:: Christopher Walters (<cw@chef.io>) # Author:: Daniel DeLeo (<dan@chef.io>) -# Copyright:: Copyright 2009-2017, Chef Software Inc. +# Copyright:: Copyright 2009-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); |