aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/support/integration/adapters/sidekiq.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/support/integration/adapters/sidekiq.rb')
-rw-r--r--activejob/test/support/integration/adapters/sidekiq.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activejob/test/support/integration/adapters/sidekiq.rb b/activejob/test/support/integration/adapters/sidekiq.rb
index 3cc9a34993..6ff18fb56a 100644
--- a/activejob/test/support/integration/adapters/sidekiq.rb
+++ b/activejob/test/support/integration/adapters/sidekiq.rb
@@ -48,7 +48,8 @@ module SidekiqJobsManager
def can_run?
begin
- Sidekiq.redis { |conn| conn.connect }
+ Sidekiq.redis(&:info)
+ Sidekiq.logger = nil
rescue
return false
end