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
1 changed files with 1 additions and 1 deletions

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