nastra commented on code in PR #8392:
URL: https://github.com/apache/iceberg/pull/8392#discussion_r1305753185
##########
spark/v3.1/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestSetCurrentSnapshotProcedure.java:
##########
@@ -252,5 +252,60 @@ public void testInvalidRollbackToSnapshotCases() {
IllegalArgumentException.class,
"Cannot handle an empty identifier",
() -> sql("CALL %s.system.set_current_snapshot('', 1L)", catalogName));
+
+ AssertHelpers.assertThrows(
Review Comment:
we don't want to introduce more usages of `AssertHelpers`, so better to use
`Assertions.assertThatThrownBy` here
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]