You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by cz...@apache.org on 2026/04/13 02:59:52 UTC
(amoro) branch master updated: [Test] Add transactionId assertion in TestDefaultKeyedFile. (#4176)
This is an automated email from the ASF dual-hosted git repository.
czy006 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 10d13d4eb [Test] Add transactionId assertion in TestDefaultKeyedFile. (#4176)
10d13d4eb is described below
commit 10d13d4eb73705cf076fa5e3cb5bc6a31662c7f9
Author: slfan1989 <55...@users.noreply.github.com>
AuthorDate: Mon Apr 13 10:59:49 2026 +0800
[Test] Add transactionId assertion in TestDefaultKeyedFile. (#4176)
* [Test] Add transactionId assertion in TestDefaultKeyedFile.
* [Test] Add transactionId assertion in TestDefaultKeyedFile.
---
.../src/test/java/org/apache/amoro/data/TestDefaultKeyedFile.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/amoro-format-iceberg/src/test/java/org/apache/amoro/data/TestDefaultKeyedFile.java b/amoro-format-iceberg/src/test/java/org/apache/amoro/data/TestDefaultKeyedFile.java
index c7c035bf7..b64d148f9 100644
--- a/amoro-format-iceberg/src/test/java/org/apache/amoro/data/TestDefaultKeyedFile.java
+++ b/amoro-format-iceberg/src/test/java/org/apache/amoro/data/TestDefaultKeyedFile.java
@@ -51,8 +51,7 @@ public class TestDefaultKeyedFile extends TableTestBase {
Assert.assertEquals(DataFileType.INSERT_FILE, defaultKeyedFile.type());
Assert.assertEquals(3, defaultKeyedFile.node().mask());
Assert.assertEquals(0, defaultKeyedFile.node().index());
- // TODO check transactionId
-
+ Assert.assertEquals(txId, defaultKeyedFile.transactionId());
}
private List<Record> writeRecords() {