retry integration test on Errno::ECONNRESET

This commit is contained in:
Konstantin Haase 2012-03-07 16:20:44 +01:00
parent 0fa16d15b0
commit 703d721f72
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class IntegrationTest < Test::Unit::TestCase
Timeout.timeout(120) do
begin
yield
rescue Errno::ECONNREFUSED => e
rescue Errno::ECONNREFUSED, Errno::ECONNRESET => e
error = e
sleep 0.1
retry