Skip to content

Commit ee89fb6

Browse files
committed
Refactored tests.
1 parent caf1814 commit ee89fb6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/concurrent/atomic/cyclic_barrier_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ module Concurrent
6868

6969
start_latch.wait(1)
7070
barrier.reset
71-
expect(continue_latch.wait(1)).to be_truthy
7271

7372
expect(barrier).not_to be_broken
7473
expect(barrier.number_waiting).to eq 0
@@ -115,7 +114,6 @@ module Concurrent
115114
it 'can be reused' do
116115
first_latch = CountDownLatch.new(parties)
117116
parties.times { Thread.new { barrier.wait; first_latch.count_down } }
118-
expect(first_latch.wait(1)).to be_truthy
119117

120118
latch = CountDownLatch.new(parties)
121119
parties.times { Thread.new { barrier.wait; latch.count_down } }

0 commit comments

Comments
 (0)