diff --git a/hugegraph-loader/src/test/java/org/apache/hugegraph/loader/test/functional/FileLoadTest.java b/hugegraph-loader/src/test/java/org/apache/hugegraph/loader/test/functional/FileLoadTest.java index 9e38af4c9..d6adb79b9 100644 --- a/hugegraph-loader/src/test/java/org/apache/hugegraph/loader/test/functional/FileLoadTest.java +++ b/hugegraph-loader/src/test/java/org/apache/hugegraph/loader/test/functional/FileLoadTest.java @@ -2427,11 +2427,11 @@ public void testParquetCompressFile() { }; if (this.ioUtil instanceof HDFSUtil) { HDFSUtil hdfsUtil = (HDFSUtil) this.ioUtil; + String path = configPath("parquet_compress_file/vertex_person.parquet"); + CommonUtil.downloadFileByUrl(CommonUtil.PREFIX + "vertex_person.parquet", path); CommonUtil.downloadFileByUrl(CommonUtil.PREFIX + "vertex_person.parquet", - configPath("parquet_compress_file/vertex_person.parquet")); - hdfsUtil.copy(configPath( - "parquet_compress_file/vertex_person.parquet"), - "hdfs://localhost:8020/files/vertex_person.parquet"); + "src/test/resources/parquet_compress_file/vertex_person.parquet"); + hdfsUtil.copy(path, "hdfs://localhost:8020/files/vertex_person.parquet"); } HugeGraphLoader.main(args);