coolbeevip commented on a change in pull request #599: SCB-1604 modify
InterruptedException
URL: https://github.com/apache/servicecomb-pack/pull/599#discussion_r349393796
##########
File path:
omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/ForwardRecovery.java
##########
@@ -66,6 +66,7 @@ public Object applyTo(ProceedingJoinPoint joinPoint,
Compensable compensable, Co
}
}
} catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
Review comment:
If this fails, the exception thrown is not as expected.
This may cause the unit test
ForwardRecoveryTest.throwExceptionWhenRetryReachesMaximum to fail
----------------------------------------------------------------
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]
With regards,
Apache Git Services