aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-06 22:48:42 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-02-06 22:48:42 +1300
commit8c38449c2ae39ea6f59995e5f77a4d3925867d48 (patch)
tree2dd2429b3189b409f47c39e6d043307fb578782e /test
parent8fbd933c7a7c73a190ecc6416d581ab3e91b2b82 (diff)
downloadruby-openssl-8c38449c2ae39ea6f59995e5f77a4d3925867d48.tar.gz
Tests are failing sporadically on Darwin with EPIPE.
Diffstat (limited to 'test')
-rw-r--r--test/test_ssl.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index e9eaf2ec..6bfd3111 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -1782,8 +1782,8 @@ end
def assert_handshake_error
# different OpenSSL versions react differently when facing a SSL/TLS version
- # that has been marked as forbidden, therefore either of these may be raised
- assert_raise(OpenSSL::SSL::SSLError, Errno::ECONNRESET) {
+ # that has been marked as forbidden, therefore any of these may be raised
+ assert_raise(OpenSSL::SSL::SSLError, Errno::ECONNRESET, Errno::EPIPE) {
yield
}
end