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:
parent
f0d6ceceb6
commit
003e58161e
2 changed files with 2 additions and 2 deletions
|
@ -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({}) }
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue