RussellSpitzer commented on a change in pull request #1525:
URL: https://github.com/apache/iceberg/pull/1525#discussion_r496765486
##########
File path: spark/src/test/java/org/apache/iceberg/spark/SparkTestBase.java
##########
@@ -63,7 +63,9 @@ public static void startMetastoreAndSpark() {
@AfterClass
public static void stopMetastoreAndSpark() {
- catalog.close();
+ if (catalog != null) {
+ catalog.close();
+ }
Review comment:
Sure, I just added this in because my tests were yelling at me all the
time because I like to throw random kill codes around when debugging. I decided
to just make sure it would stop bothering 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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]