pvary commented on a change in pull request #3790:
URL: https://github.com/apache/iceberg/pull/3790#discussion_r777959623
##########
File path:
spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/SparkTestBaseWithCatalog.java
##########
@@ -44,9 +45,7 @@ public static void createWarehouse() throws IOException {
@AfterClass
public static void dropWarehouse() {
- if (warehouse != null && warehouse.exists()) {
- warehouse.delete();
- }
+ FileUtils.deleteQuietly(warehouse);
Review comment:
Using `Assert` here as you do in the new PR versions looks good to me
--
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]