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
232
232
end
233
233
234
234
it 'returns Concurrent::NULL, false when closed and no items remain' do
235
+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
236
+
235
237
t = in_thread do
236
238
subject . put ( :foo )
237
239
end
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ module Concurrent
18
18
end
19
19
20
20
specify '#dataflow_with uses the given executor' do
21
+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
22
+
21
23
input = Future . execute { 0 }
22
24
result = Future . new { 0 }
23
25
Original file line number Diff line number Diff line change 917
917
end
918
918
919
919
specify "timing out" do
920
+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
921
+
920
922
count_down = Concurrent ::CountDownLatch . new
921
923
body = { on_thread : -> { m = receive ; count_down . wait ; reply m } ,
922
924
on_pool : -> { receive { |m | count_down . wait ; reply m } } }
Original file line number Diff line number Diff line change 4
4
RSpec . describe 'Concurrent' do
5
5
describe 'Throttle' do
6
6
specify 'acquiring' do
7
+ skip ( 'flaky on truffleruby' ) if Concurrent . on_truffleruby?
8
+
7
9
throttle = Concurrent ::Throttle . new 2
8
10
expect ( throttle . max_capacity ) . to eq 2
9
11
expect ( throttle . available_capacity ) . to eq 2
You can’t perform that action at this time.
0 commit comments