You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2025/03/24 05:38:59 UTC

(paimon) branch master updated: [test] Fixed incorrect use of FileIO in CloneActionITCase (#5332)

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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 522eed823b [test] Fixed incorrect use of FileIO in CloneActionITCase (#5332)
522eed823b is described below

commit 522eed823b77210d4ed9852f65cfa37b488c43c0
Author: Eugene <10...@users.noreply.github.com>
AuthorDate: Mon Mar 24 13:38:55 2025 +0800

    [test] Fixed incorrect use of FileIO in CloneActionITCase (#5332)
---
 .../src/test/java/org/apache/paimon/flink/action/CloneActionITCase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/action/CloneActionITCase.java b/paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/action/CloneActionITCase.java
index ac1015f9e0..16c0a51cf0 100644
--- a/paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/action/CloneActionITCase.java
+++ b/paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/action/CloneActionITCase.java
@@ -723,7 +723,7 @@ public class CloneActionITCase extends ActionITCaseBase {
                 }
             }
 
-            Pair<Path, Boolean> result = pathExist(targetTable.fileIO(), paths);
+            Pair<Path, Boolean> result = pathExist(sourceTable.fileIO(), paths);
             assertThat(result.getRight()).isTrue();
             assertThat(targetTable.fileIO().getFileSize(filesPathInfo.getLeft()))
                     .isEqualTo(sourceTable.fileIO().getFileSize(result.getLeft()));