提交 56f2747a authored 作者: christian.peter.io's avatar christian.peter.io

Fix test case

上级 12b19df2
......@@ -45,11 +45,11 @@ public class TestConnectionPool extends TestBase {
String url = getURL("connectionPool", true), user = getUser(), password = getPassword();
JdbcConnectionPool man = JdbcConnectionPool.create(url, user, password);
assertEquals(5 * 60, man.getLoginTimeout());
assertEquals(30, man.getLoginTimeout());
man.setLoginTimeout(1);
assertEquals(1, man.getLoginTimeout());
man.setLoginTimeout(0);
assertEquals(5 * 60, man.getLoginTimeout());
assertEquals(30, man.getLoginTimeout());
assertEquals(10, man.getMaxConnections());
PrintWriter old = man.getLogWriter();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论