Aias00 commented on code in PR #5659:
URL: https://github.com/apache/shenyu/pull/5659#discussion_r1810524063
##########
shenyu-admin/src/test/java/org/apache/shenyu/admin/service/register/FallbackShenyuClientRegisterServiceTest.java:
##########
@@ -72,7 +77,12 @@ static class
MockFallbackShenyuClientRegisterServiceException extends FallbackSh
String doRegisterURI(final String selectorName, final
List<URIRegisterDTO> uriList) {
throw new ShenyuException("Exception");
}
-
+
+ @Override
+ String doHeartbeat(final String selectorName, final
List<URIRegisterDTO> uriList) {
+ throw new ShenyuException("Exception");
Review Comment:
this is a Exception class, for Exception test, copied from
org.apache.shenyu.admin.service.register.FallbackShenyuClientRegisterServiceTest.MockFallbackShenyuClientRegisterServiceException#doRegisterURI
--
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]