This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.7 by this push:
     new de38a4dcb [#5213] Improvement: Fix the flaky test (#5236)
de38a4dcb is described below

commit de38a4dcb10401371fb951a011b26c8634d40013
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 24 16:56:00 2024 +0800

    [#5213] Improvement: Fix the flaky test (#5236)
    
    ### What changes were proposed in this pull request?
    
    Increase the max_retries to prevent timeout
    
    ### Why are the changes needed?
    
    Fix: #5213
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. only the UT was changed.
    
    ### How was this patch tested?
    
    `./gradlew :catalogs:catalog-hive:test`
    
    Co-authored-by: Liang Chun <[email protected]>
---
 .../test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java
 
b/catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java
index f949f7249..31904e669 100644
--- 
a/catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java
+++ 
b/catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java
@@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory;
 public class TestFetchFileUtils {
 
   private static final Logger LOG = 
LoggerFactory.getLogger(TestFetchFileUtils.class);
-  private static final int MAX_RETRIES = 3;
+  private static final int MAX_RETRIES = 8;
   private static final long INITIAL_RETRY_DELAY_MS = 1000;
 
   @Test

Reply via email to