yuqi1129 commented on code in PR #5613:
URL: https://github.com/apache/gravitino/pull/5613#discussion_r1851186527


##########
catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java:
##########
@@ -65,18 +65,18 @@ public void testDownloadFromHTTP() throws Exception {
     boolean success = false;
     int attempts = 0;
 
-    while (!success && attempts < MAX_RETRIES) {
+    while (!success) {

Review Comment:
   > It will not if you check the code. The if condition is redundant.
   
   I see, there is a condition in the loop. 



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

Reply via email to