mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Clear old jobs to prevent heisen-failures.
This commit is contained in:
parent
a5f25d8301
commit
ab1a2d567d
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ class TestTesting < Minitest::Test
|
|||
end
|
||||
|
||||
it 'perform_one raise error upon empty queue' do
|
||||
DirectWorker.clear
|
||||
assert_raises Sidekiq::EmptyQueueError do
|
||||
DirectWorker.perform_one
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue