/** * Test thread pool size. * * @throws Exception If failed. */ @Test public void testThreadPoolSize() throws Exception { check(new OdbcConfiguration().setThreadPoolSize(0), false); check(new OdbcConfiguration().setThreadPoolSize(-1), false); check(new OdbcConfiguration().setThreadPoolSize(4), true); }