We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2a9bda + f851bc4 commit 8dac6a4Copy full SHA for 8dac6a4
spec/spec_helper.rb
@@ -159,7 +159,7 @@
159
# WEBrick server thread
160
t[:WEBrickSocket] ||
161
# Rails connection reaper
162
- backtrace.find { |b| b.include?('lib/active_record/connection_adapters/abstract/connection_pool.rb') } ||
+ backtrace.find { |b| b =~ %r{lib/active_record/connection_adapters/abstract/connection_pool(/reaper)?.rb} } ||
163
# Ruby JetBrains debugger
164
(t.class.name && t.class.name.include?('DebugThread')) ||
165
# Categorized as a known leaky thread
0 commit comments