summaryrefslogtreecommitdiff
path: root/test/ruby/test_exception.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r--test/ruby/test_exception.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 87d7d6f660..4abbb4cf6f 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -583,6 +583,9 @@ end.join
rescue RangeError
# MingW can raise RangeError instead of NoMemoryError,
# so we cannot test this case.
+ rescue Timeout::Error
+ # Solaris 11 CI times out instead of raising NoMemoryError,
+ # so we cannot test this case.
end
def test_equal