Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions spec/concurrent/atomic/cyclic_barrier_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ module Concurrent
end

start_latch.wait(1)
repeat_until_success { expect(barrier.number_waiting).to eq 1 }
barrier.reset

expect(barrier).not_to be_broken
Expand Down
2 changes: 1 addition & 1 deletion spec/concurrent/edge/erlang_actor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@
end

specify "timing out" do
skip('flaky on truffleruby') if Concurrent.on_truffleruby?
skip('flaky on truffleruby and jruby') if Concurrent.on_truffleruby? || Concurrent.on_jruby?

count_down = Concurrent::CountDownLatch.new
body = { on_thread: -> { m = receive; count_down.wait; reply m },
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def requires=(paths)
config.after :each do
while defined?(@created_threads) && @created_threads && (thread = (@created_threads.pop(true) rescue nil))
thread.kill
thread_join = thread.join(1.0)
thread_join = thread.join(10.0)
expect(thread_join).not_to be_nil, thread.inspect
end
end
Expand Down