diff options
Diffstat (limited to 'spec/support/sidekiq.rb')
-rw-r--r-- | spec/support/sidekiq.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/sidekiq.rb b/spec/support/sidekiq.rb index dc475b92c0b..b25f39c5e74 100644 --- a/spec/support/sidekiq.rb +++ b/spec/support/sidekiq.rb @@ -5,9 +5,11 @@ RSpec.configure do |config| # We need to cleanup the queues before running jobs in specs because the # middleware might have written to redis redis_queues_cleanup! + redis_queues_metadata_cleanup! Sidekiq::Testing.inline!(&block) ensure redis_queues_cleanup! + redis_queues_metadata_cleanup! end # As we'll review the examples with this tag, we should either: |