liuxiaocs7 commented on code in PR #7159:
URL: https://github.com/apache/iceberg/pull/7159#discussion_r1143323310
##########
mr/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergStorageHandlerNoScan.java:
##########
@@ -210,28 +210,25 @@ public void testCreateDropTable() throws TException,
IOException, InterruptedExc
shell.executeStatement("DROP TABLE customers");
// Check if the table was really dropped even from the Catalog
- AssertHelpers.assertThrows(
- "should throw exception",
- NoSuchTableException.class,
- "Table does not exist",
- () -> {
- testTables.loadTable(identifier);
- });
+ Assertions.assertThatThrownBy(
+ () -> {
Review Comment:
Done!
--
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]