We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada6288 commit a8fa486Copy full SHA for a8fa486
spec/concurrent/atomic/cyclic_barrier_spec.rb
@@ -71,7 +71,7 @@ module Concurrent
71
end
72
73
start_latch.wait(1)
74
- Thread.pass until barrier.number_waiting == 1
+ repeat_until_success { expect(barrier.number_waiting).to eq 1 }
75
barrier.reset
76
77
expect(barrier).not_to be_broken
0 commit comments