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

JingsongLi 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 1c0a866e5c [core] Fix flaky column type update test (#9325)
1c0a866e5c is described below

commit 1c0a866e5c48c094e664eece9eff1cd49692d769
Author: Arnav Balyan <[email protected]>
AuthorDate: Fri Aug 21 11:45:49 2026 +0530

    [core] Fix flaky column type update test (#9325)
---
 .../src/test/java/org/apache/paimon/schema/SchemaManagerTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/paimon-core/src/test/java/org/apache/paimon/schema/SchemaManagerTest.java 
b/paimon-core/src/test/java/org/apache/paimon/schema/SchemaManagerTest.java
index 0d8b813754..d8dbc7ccaa 100644
--- a/paimon-core/src/test/java/org/apache/paimon/schema/SchemaManagerTest.java
+++ b/paimon-core/src/test/java/org/apache/paimon/schema/SchemaManagerTest.java
@@ -1533,7 +1533,7 @@ public class SchemaManagerTest {
                 .isInstanceOf(NumberFormatException.class);
 
         // the column is untouched, so the table is still writable
-        TableSchema after = manager.latest().get();
+        TableSchema after = retryArtificialException(() -> 
manager.latest()).get();
         assertThat(after.fields().get(1).type()).isEqualTo(DataTypes.STRING());
         assertThatCode(
                         () ->
@@ -1549,7 +1549,7 @@ public class SchemaManagerTest {
         retryArtificialException(
                 () -> manager.commitChanges(SchemaChange.updateColumnType("c", 
DataTypes.INT())));
 
-        TableSchema after = manager.latest().get();
+        TableSchema after = retryArtificialException(() -> 
manager.latest()).get();
         assertThat(after.fields().get(1).type()).isEqualTo(DataTypes.INT());
         assertThat(after.fields().get(1).defaultValue()).isEqualTo("'123'");
         assertThatCode(

Reply via email to