1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

test/integration.rb - hot_restart_does_not_drop_connections - another rescue error

This commit is contained in:
MSP-Greg 2020-10-14 10:43:11 -05:00 committed by MSP-Greg
parent 03c3b2f0e1
commit f9ee31c4e5

View file

@ -208,7 +208,8 @@ class TestIntegration < Minitest::Test
# client would see an empty response
# Errno::EBADF Windows may not be able to make a connection
mutex.synchronize { replies[:reset] += 1 }
rescue *refused
rescue *refused, IOError
# IOError intermittently thrown by Ubuntu, add to allow retry
mutex.synchronize { replies[:refused] += 1 }
rescue ::Timeout::Error
mutex.synchronize { replies[:read_timeout] += 1 }