Skip to content

Commit 22135df

Browse files
committed
Add :truffle_bug as a tag on some specs that don't work on JRuby+Truffle.
1 parent 56cec27 commit 22135df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/concurrent/channel/tick_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Channel
2626
expect(subject.utc.to_f).to eq subject.epoch
2727
end
2828

29-
specify do
29+
specify '#to_s formats as a time', :truffle_bug => true do
3030
expect(subject.to_s).to match /\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{6} \+\d{4} UTC/
3131
end
3232

spec/concurrent/executor/thread_pool_executor_shared.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
expect(subject.max_queue).to eq expected_max
101101
end
102102

103-
it 'returns the set value when running' do
103+
it 'returns the set value when running', :truffle_bug => true do # only actually fails for RubyThreadPoolExecutor
104104
trigger = Concurrent::Event.new
105105
5.times{ subject.post{ trigger.wait } }
106106
expect(subject.max_queue).to eq expected_max
@@ -115,7 +115,7 @@
115115
end
116116
end
117117

118-
context '#queue_length' do
118+
context '#queue_length', :truffle_bug => true do # only actually fails for RubyThreadPoolExecutor
119119

120120
let!(:expected_max){ 10 }
121121
subject do

0 commit comments

Comments
 (0)