mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
fix inverted test timeout logic
This commit is contained in:
parent
c48dd760a9
commit
39abf370a4
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ Excon.defaults.merge!(:debug_request => true, :debug_response => true)
|
|||
require File.expand_path(File.join(File.dirname(__FILE__), 'helpers', 'mock_helper'))
|
||||
|
||||
# This overrides the default 600 seconds timeout during live test runs
|
||||
if Fog.mocking?
|
||||
Fog.timeout = ENV['FOG_TEST_TIMEOUT'] || 2000
|
||||
unless Fog.mocking?
|
||||
Fog.timeout = ENV['FOG_TEST_TIMEOUT'] || 2_000
|
||||
Fog::Logger.warning "Setting default fog timeout to #{Fog.timeout} seconds"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue