xyuanlu commented on a change in pull request #1362:
URL: https://github.com/apache/helix/pull/1362#discussion_r492321938
##########
File path:
helix-core/src/test/java/org/apache/helix/messaging/handling/TestHelixTaskExecutor.java
##########
@@ -232,11 +248,29 @@ public HelixTaskResult handleMessage() throws
InterruptedException {
@Override
public void onError(Exception e, ErrorCode code, ErrorType type) {
}
+
+ @Override
+ public void precheckForStaleMessage() throws Exception {
+ if (_testIsMessageStaled) {
+ super.precheckForStaleMessage();
+ }
+ }
}
@Override
public MessageHandler createHandler(Message message, NotificationContext
context) {
- return new TestStateTransitionMessageHandler(message, context);
+ if (message.getResourceName()!="testStaledMessageResource") {
Review comment:
TFTR. Updated.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]