Skip to content

Commit 3344e2e

Browse files
committed
More test shenanigans.
1 parent a6bd968 commit 3344e2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/concurrent/executor/executor_service_shared.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
subject.shutdown
7070
subject.wait_for_termination
7171
begin
72-
expect(subject.post{ latch2.count_down }).to be_falsey
72+
subject.post{ latch2.count_down }
7373
rescue Concurrent::RejectedExecutionError
7474
end
7575
expect(latch2.wait(0.2)).to be_falsey
@@ -134,7 +134,7 @@
134134
latch.wait(1)
135135
subject.kill
136136
begin
137-
expect(subject.post{ expected.make_true }).to be_falsey
137+
subject.post{ expected.make_true }
138138
rescue Concurrent::RejectedExecutionError
139139
end
140140
sleep(0.1)

0 commit comments

Comments
 (0)