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 f15a9c6946 [core] Fix testEmptyPartitionDirectories failure by making 
empty dir older (#7320)
f15a9c6946 is described below

commit f15a9c6946647f0be4ecbf9334e651cb058fd3fb
Author: XiaoHongbo <[email protected]>
AuthorDate: Sat Feb 28 16:42:15 2026 +0800

    [core] Fix testEmptyPartitionDirectories failure by making empty dir older 
(#7320)
---
 .../java/org/apache/paimon/operation/LocalOrphanFilesCleanTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/paimon-core/src/test/java/org/apache/paimon/operation/LocalOrphanFilesCleanTest.java
 
b/paimon-core/src/test/java/org/apache/paimon/operation/LocalOrphanFilesCleanTest.java
index 5c582e22a6..bb20c9904e 100644
--- 
a/paimon-core/src/test/java/org/apache/paimon/operation/LocalOrphanFilesCleanTest.java
+++ 
b/paimon-core/src/test/java/org/apache/paimon/operation/LocalOrphanFilesCleanTest.java
@@ -620,8 +620,8 @@ public class LocalOrphanFilesCleanTest {
 
         Path recentEmptyPath = new Path(tablePath, "part1=2");
         fileIO.mkdirs(recentEmptyPath);
-        LocalOrphanFilesClean cleanRecent =
-                new LocalOrphanFilesClean(table, System.currentTimeMillis() - 
1, false);
+        long cutoffMs = System.currentTimeMillis() - 
TimeUnit.MINUTES.toMillis(2);
+        LocalOrphanFilesClean cleanRecent = new LocalOrphanFilesClean(table, 
cutoffMs, false);
         cleanRecent.clean();
         assertThat(fileIO.exists(recentEmptyPath))
                 .as("Recent empty partition dir must not be deleted (age 
safeguard).")

Reply via email to