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:
parent
03c3b2f0e1
commit
f9ee31c4e5
1 changed files with 2 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue