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 6641141c0 [#5642] test: disable TestFetchFileUtils test to reduce test
failures (#5644)
6641141c0 is described below
commit 6641141c0941c96008a993b609621c6274739a84
Author: FANNG <[email protected]>
AuthorDate: Fri Nov 22 15:24:56 2024 +0800
[#5642] test: disable TestFetchFileUtils test to reduce test failures
(#5644)
### What changes were proposed in this pull request?
disable TestFetchFileUtils test to reduce test failures
### Why are the changes needed?
Fix: #5642
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
existing tests
---
.../test/java/org/apache/gravitino/catalog/hive/TestFetchFileUtils.java | 2 ++
1 file changed, 2 insertions(+)
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 9ca344632..4e7e3925a 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
@@ -23,6 +23,7 @@ import java.io.File;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -57,6 +58,7 @@ public class TestFetchFileUtils {
}
@Test
+ @Disabled("The network errors in CI maybe cause the test failed")
public void testDownloadFromHTTP() throws Exception {
File destFile = new File("dest");
String fileUrl = "https://downloads.apache.org/hadoop/common/KEYS";