pvary commented on a change in pull request #2325:
URL: https://github.com/apache/iceberg/pull/2325#discussion_r592618888
##########
File path:
hive-metastore/src/test/java/org/apache/iceberg/hive/TestHiveCatalog.java
##########
@@ -400,6 +401,20 @@ public void testTableName() {
}
}
+ @Test
+ public void testClientPoolCleaner() throws InterruptedException {
+ HiveCatalog catalog = new HiveCatalog(hiveConf);
+ HiveClientPool clientPool1 = catalog.loadHiveClientPool(hiveConf);
+ Thread.sleep(TimeUnit.SECONDS.toMillis(5));
Review comment:
I have found that `Clock` is very useful when we run tests against
current time and do not want to use Thread.sleeps...
----------------------------------------------------------------
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]