Apache9 commented on code in PR #5391: URL: https://github.com/apache/hbase/pull/5391#discussion_r1325295375
########## hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/RSProcedureDispatcher.java: ########## @@ -330,6 +322,73 @@ private boolean scheduleForRetry(IOException e) { return true; } + private boolean unableToConnectToServerInFirstAttempt(IOException e) { Review Comment: I mean we could extract a method for testing exception only, and then we test numberOfAttemptsSoFar outside the method... -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org