Skip to content

Commit 2d0023b

Browse files
committed
Exclude problematic test on TruffleRuby
1 parent 5c57033 commit 2d0023b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/concurrent/executor/safe_task_executor_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,20 @@ def execute
110110

111111
it 'should return success' do
112112
(pending('possible local jump bug on JRuby https://github.com/jruby/jruby/issues/7136'); fails) if Concurrent.on_jruby?
113+
(pending('the test does not make sense: https://github.com/ruby-concurrency/concurrent-ruby/issues/931'); fails) if Concurrent.on_truffleruby?
113114
success, _value, _reason = subject
114115
expect(success).to be_truthy
115116
end
116117

117118
it 'should return a nil value' do
119+
(pending('the test does not make sense: https://github.com/ruby-concurrency/concurrent-ruby/issues/931'); fails) if Concurrent.on_truffleruby?
118120
_success, value, _reason = subject
119121
expect(value).to be_nil
120122
end
121123

122124
it 'should return a nil reason' do
123125
(pending('possible local jump bug on JRuby https://github.com/jruby/jruby/issues/7136'); fails) if Concurrent.on_jruby?
126+
(pending('the test does not make sense: https://github.com/ruby-concurrency/concurrent-ruby/issues/931'); fails) if Concurrent.on_truffleruby?
124127
_success, _value, reason = subject
125128
expect(reason).to be_nil
126129
end

0 commit comments

Comments
 (0)