mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
also deal with connection reset in integration test
This commit is contained in:
parent
fa1d32382b
commit
35e4394275
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module IntegrationHelper
|
|||
def alive?
|
||||
3.times { get('/ping') }
|
||||
true
|
||||
rescue Errno::ECONNREFUSED => error
|
||||
rescue Errno::ECONNREFUSED, Errno::ECONNRESET => error
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue