retry integration test on Errno::ECONNRESET
This commit is contained in:
parent
0fa16d15b0
commit
703d721f72
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue