Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit a092650

Browse files
committed
Skip broken spec on 3.1.4
1 parent 0821061 commit a092650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/rspec/support/reentrant_mutex_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
order.join_all
2929
end
3030

31-
# On Ruby 3.1.3, 3.2.0 and RUBY_HEAD the raise in this spec can
31+
# On Ruby 3.1.3+, 3.2.0 and RUBY_HEAD the raise in this spec can
3232
# bypass the `raise_error` capture and break this spec but
3333
# it is not sufficient to pend it as the raise can escape to the other
3434
# threads somehow therefore poisoning them so its skipped entirely.
3535
# This is a temporary work around to allow green cross project builds but
3636
# needs a fix.
37-
if RUBY_VERSION >= '3.0' && RUBY_VERSION != '3.1.3' && RUBY_VERSION < '3.2.0' && !ENV['RUBY_HEAD']
37+
if RUBY_VERSION >= '3.0' && RUBY_VERSION < '3.1.3' && !ENV['RUBY_HEAD']
3838
it 'waits when trying to lock from another Fiber' do
3939
mutex.synchronize do
4040
ready = false

0 commit comments

Comments
 (0)