diff options
-rw-r--r-- | spec/functional/http/simple_spec.rb | 4 | ||||
-rw-r--r-- | spec/functional/resource/remote_file_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/functional/http/simple_spec.rb b/spec/functional/http/simple_spec.rb index 562c037bb0..e835bb0c79 100644 --- a/spec/functional/http/simple_spec.rb +++ b/spec/functional/http/simple_spec.rb @@ -32,8 +32,8 @@ describe Chef::HTTP::Simple do before(:each) do Chef::Config[:rest_timeout] = 2 - Chef::Config[:http_retry_delay] = 0 - Chef::Config[:http_retry_count] = 0 + Chef::Config[:http_retry_delay] = 1 + Chef::Config[:http_retry_count] = 2 end after(:all) do diff --git a/spec/functional/resource/remote_file_spec.rb b/spec/functional/resource/remote_file_spec.rb index a121cbb1f3..44a7a46d68 100644 --- a/spec/functional/resource/remote_file_spec.rb +++ b/spec/functional/resource/remote_file_spec.rb @@ -29,8 +29,8 @@ describe Chef::Resource::RemoteFile do @old_file_cache = Chef::Config[:file_cache_path] Chef::Config[:file_cache_path] = file_cache_path Chef::Config[:rest_timeout] = 2 - Chef::Config[:http_retry_delay] = 0 - Chef::Config[:http_retry_count] = 0 + Chef::Config[:http_retry_delay] = 1 + Chef::Config[:http_retry_count] = 2 end after(:each) do |