zpinto commented on code in PR #2610:
URL: https://github.com/apache/helix/pull/2610#discussion_r1312184466


##########
helix-core/src/test/java/org/apache/helix/controller/stages/BaseStageTest.java:
##########
@@ -209,7 +210,11 @@ protected void runStage(ClusterEvent event, Stage stage) {
     stage.init(context);
     stage.preProcess();
     try {
-      stage.process(event);
+      if (stage instanceof AbstractAsyncBaseStage) {
+        ((AbstractAsyncBaseStage) stage).execute(event);

Review Comment:
   Tests for business logic for TopStateHandoffReportStage is in 
TopStateHandoffReportMetrics.



-- 
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]

Reply via email to