We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3389cb commit aab776eCopy full SHA for aab776e
spec/runners/unified/test.rb
@@ -144,7 +144,7 @@ def create_entities
144
if ignore_events = spec.use('ignoreCommandMonitoringEvents')
145
subscriber.ignore_commands(ignore_events)
146
end
147
- when /^pool/
+ when /\A(?:pool|connection)/
148
subscriber = (@subscribers[client] ||= EventSubscriber.new)
149
unless client.send(:monitoring).subscribers[Mongo::Monitoring::CONNECTION_POOL]&.include?(subscriber)
150
client.subscribe(Mongo::Monitoring::CONNECTION_POOL, subscriber)
0 commit comments