1
0
Fork 0
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:
Konstantin Haase 2012-03-07 22:58:40 +01:00
parent fa1d32382b
commit 35e4394275

View file

@ -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