Close connection pool in test teardown
The pool in this test starts a background thread running,
so by closing it we also shutdown that thread.
@@ -123,6 +123,9 @@ public abstract class AbstractConnectionPoolTest {
for (ExecutorService cur : executorServiceMap.values()) {
cur.shutdownNow();
}
+ if (pool != null) {
+ pool.close();
+ }
}
@Test
