Skip to content

Commit

Permalink
TestIntegration#thread_run_refused - add Errno::EBADF for Darwin
Browse files Browse the repository at this point in the history
Fixes intermittent CI failures
  • Loading branch information
MSP-Greg authored and JuanitoFatas committed Sep 9, 2022
1 parent 4f989f4 commit b635ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/integration.rb
Expand Up @@ -178,7 +178,7 @@ def thread_run_refused(unix: false)
if unix
[Errno::ENOENT, IOError]
else
DARWIN ? [Errno::ECONNREFUSED, Errno::EPIPE, EOFError] :
DARWIN ? [Errno::EBADF, Errno::ECONNREFUSED, Errno::EPIPE, EOFError] :
[Errno::ECONNREFUSED]
end
end
Expand Down

0 comments on commit b635ca2

Please sign in to comment.