File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,11 @@ class EventListenerUtil(CommandListener):
135
135
def __init__ (self , observe_events , ignore_commands ):
136
136
self ._event_types = set (observe_events )
137
137
self ._ignore_commands = _SENSITIVE_COMMANDS | set (ignore_commands )
138
- self ._ignore_commands .add ('configureFailPoint ' )
138
+ self ._ignore_commands .add ('configurefailpoint ' )
139
139
self .results = []
140
140
141
141
def _observe_event (self , event ):
142
- if event .command_name not in self ._ignore_commands :
142
+ if event .command_name . lower () not in self ._ignore_commands :
143
143
self .results .append (event )
144
144
145
145
def started (self , event ):
@@ -193,6 +193,7 @@ def _create_entity(self, entity_spec):
193
193
observe_events = spec .get ('observeEvents' , [])
194
194
ignore_commands = spec .get ('ignoreCommandMonitoringEvents' , [])
195
195
if len (observe_events ) or len (ignore_commands ):
196
+ ignore_commands = [cmd .lower () for cmd in ignore_commands ]
196
197
listener = EventListenerUtil (observe_events , ignore_commands )
197
198
self ._listeners [spec ['id' ]] = listener
198
199
kwargs ['event_listeners' ] = [listener ]
You can’t perform that action at this time.
0 commit comments