You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/09/25 04:45:29 UTC

[GitHub] [iceberg] Flyangz commented on a change in pull request #3116: Flink: Upgrade to flink 1.13.2

Flyangz commented on a change in pull request #3116:
URL: https://github.com/apache/iceberg/pull/3116#discussion_r715989997



##########
File path: api/src/test/java/org/apache/iceberg/AssertHelpers.java
##########
@@ -155,4 +155,18 @@ public static void assertEmptyAvroField(GenericRecord record, String field) {
         AvroRuntimeException.class,
         () -> record.get(field));
   }
+
+  /**
+   * Same as {@link AssertHelpers#assertThrowsCause}, but this method compares root cause.
+   */
+  public static void assertThrowsRootCause(String message,
+                                       Class<? extends Exception> expected,
+                                       String containedInMessage,
+                                       Runnable runnable) {

Review comment:
       fixed it.




-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org