1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix test suite

This commit is contained in:
Mike Perham 2018-10-18 14:35:10 -07:00
parent f0d6ceceb6
commit 003e58161e
2 changed files with 2 additions and 2 deletions

View file

@ -298,7 +298,7 @@ class TestClient < Sidekiq::Test
} }
it 'does not explode when new initializing classes from multiple threads' do it 'does not explode when new initializing classes from multiple threads' do
10000.times do 100.times do
klass = new_class.call klass = new_class.call
t1 = Thread.new { klass.sidekiq_options({}) } t1 = Thread.new { klass.sidekiq_options({}) }

View file

@ -20,7 +20,7 @@ class TestManager < Sidekiq::Test
it 'shuts down the system' do it 'shuts down the system' do
mgr = new_manager(options) mgr = new_manager(options)
mgr.stop(Time.now) mgr.stop(::Process.clock_gettime(::Process::CLOCK_MONOTONIC))
end end
it 'throws away dead processors' do it 'throws away dead processors' do