File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,8 @@ module Concurrent::Channel::Buffer
232232 end
233233
234234 it 'returns Concurrent::NULL, false when closed and no items remain' do
235+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
236+
235237 t = in_thread do
236238 subject . put ( :foo )
237239 end
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ module Concurrent
1818 end
1919
2020 specify '#dataflow_with uses the given executor' do
21+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
22+
2123 input = Future . execute { 0 }
2224 result = Future . new { 0 }
2325
Original file line number Diff line number Diff line change 917917 end
918918
919919 specify "timing out" do
920+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
921+
920922 count_down = Concurrent ::CountDownLatch . new
921923 body = { on_thread : -> { m = receive ; count_down . wait ; reply m } ,
922924 on_pool : -> { receive { |m | count_down . wait ; reply m } } }
Original file line number Diff line number Diff line change 44RSpec . describe 'Concurrent' do
55 describe 'Throttle' do
66 specify 'acquiring' do
7+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
8+
79 throttle = Concurrent ::Throttle . new 2
810 expect ( throttle . max_capacity ) . to eq 2
911 expect ( throttle . available_capacity ) . to eq 2
You can’t perform that action at this time.
0 commit comments