fengruotj commented on code in PR #8692:
URL: https://github.com/apache/paimon/pull/8692#discussion_r3592934769


##########
paimon-core/src/test/java/org/apache/paimon/rest/RESTCatalogTest.java:
##########
@@ -2151,7 +2150,7 @@ public void testDataTokenExpired() throws Exception {
         FileStoreTable tableTestWrite = (FileStoreTable) 
catalog.getTable(identifier);
         List<Integer> data = Lists.newArrayList(12);
         Exception exception =
-                assertThrows(UncheckedIOException.class, () -> 
batchWrite(tableTestWrite, data));
+                assertThrows(RuntimeException.class, () -> 
batchWrite(tableTestWrite, data));

Review Comment:
   `latestSnapshotIdFromFileSystem` will wrap the original exception in a 
`RuntimeException`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to