This is an automated email from the ASF dual-hosted git repository. djwang pushed a commit to branch merge-with-upstream in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git
commit f3a7e030c7402df3d9dc092dcbdee08ac3e13f65 Author: Nikolay Antonov <[email protected]> AuthorDate: Mon Dec 22 01:27:20 2025 +0500 Automation: wait for files to be copied in Hive tests --- .../java/org/greenplum/pxf/automation/features/hive/HiveBaseTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/automation/src/test/java/org/greenplum/pxf/automation/features/hive/HiveBaseTest.java b/automation/src/test/java/org/greenplum/pxf/automation/features/hive/HiveBaseTest.java index b537e8f4..ff669d3d 100755 --- a/automation/src/test/java/org/greenplum/pxf/automation/features/hive/HiveBaseTest.java +++ b/automation/src/test/java/org/greenplum/pxf/automation/features/hive/HiveBaseTest.java @@ -384,9 +384,7 @@ public class HiveBaseTest extends BaseFeature { hdfs.copyFromLocal(localPath, hdfsPath); // Verify file was copied to HDFS - if (!hdfs.doesFileExist(hdfsPath)) { - throw new RuntimeException("File was not copied to HDFS: " + hdfsPath); - } + hdfs.waitForFile(hdfsPath, 3); // load to hive table hive.loadData(tableName, hdfsPath, false); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
