This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 67ac7f947 [#5213] Improvement: Fix the flaky test (#5234)
67ac7f947 is described below
commit 67ac7f9473b3c2781d32eb12e6d9e4d1ec4f5672
Author: Liang Chun <[email protected]>
AuthorDate: Thu Oct 24 01:03:28 2024 -0700
[#5213] Improvement: Fix the flaky test (#5234)
### 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`
---
.../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