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 09fa943 commit 8a5ff41Copy full SHA for 8a5ff41
spec/concurrent/executor/ruby_thread_pool_executor_spec.rb
@@ -119,20 +119,20 @@ module Concurrent
119
120
specify 'a #post task is never executed when the queue is at capacity' do
121
executed = Concurrent::AtomicFixnum.new(0)
122
- 100.times do
+ 1000.times do
123
subject.post{ executed.increment }
124
end
125
sleep(0.1)
126
- executed.value.should < 100
+ executed.value.should < 1000
127
128
129
specify 'a #<< task is never executed when the queue is at capacity' do
130
131
132
subject << proc { executed.increment }
133
134
135
136
137
138
0 commit comments