kfaraz commented on code in PR #13074:
URL: https://github.com/apache/druid/pull/13074#discussion_r974876899
##########
core/src/test/java/org/apache/druid/java/util/metrics/StubServiceEmitter.java:
##########
@@ -37,7 +41,18 @@ public StubServiceEmitter(String service, String host)
@Override
public void emit(Event event)
{
- events.add(event);
+ if (event instanceof AlertEvent) {
+ final AlertEvent alertEvent = (AlertEvent) event;
Review Comment:
That makes sense. I did have a dedicated list for alerts during my initial
testing but later removed it as I wasn't using it in my tests. Will fix it up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]