From 7a68835545d325719cb1911a9e7656d7f33386f6 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sat, 24 Apr 2021 15:23:29 -0500 Subject: [PATCH] TestIntegration#thread_run_refused - add Errno::EBADF for Darwin Fixes intermittent CI failures --- test/helpers/integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/integration.rb b/test/helpers/integration.rb index b13ef2a312..05ab7a476a 100644 --- a/test/helpers/integration.rb +++ b/test/helpers/integration.rb @@ -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