voonhous commented on code in PR #14311:
URL: https://github.com/apache/hudi/pull/14311#discussion_r2579581072


##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/client/functional/TestMetadataUtilRLIandSIRecordGeneration.java:
##########
@@ -605,22 +596,22 @@ public void testReducedByKeysForRLIRecords() throws 
IOException {
       fail("Should not have reached here");
     } catch (Exception e) {
       // expected. no-op
-      assertTrue(e.getCause() instanceof HoodieIOException);
+      assertInstanceOf(HoodieIOException.class, e.getCause());

Review Comment:
   Reverting, let's address syntax changes in another PR.



-- 
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