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

TestIntegration#thread_run_refused - add Errno::EBADF for Darwin

Fixes intermittent CI failures
This commit is contained in:
MSP-Greg 2021-04-24 15:23:29 -05:00
parent a02f9241ae
commit 7a68835545
No known key found for this signature in database
GPG key ID: D688DA4A77D8FA18

View file

@ -178,7 +178,7 @@ class TestIntegration < Minitest::Test
if unix if unix
[Errno::ENOENT, IOError] [Errno::ENOENT, IOError]
else else
DARWIN ? [Errno::ECONNREFUSED, Errno::EPIPE, EOFError] : DARWIN ? [Errno::EBADF, Errno::ECONNREFUSED, Errno::EPIPE, EOFError] :
[Errno::ECONNREFUSED] [Errno::ECONNREFUSED]
end end
end end