提交 6ff25122 authored 作者: Thomas Mueller's avatar Thomas Mueller

Test

上级 b5093ff8
...@@ -291,12 +291,7 @@ public class TestCrashAPI extends TestBase implements Runnable { ...@@ -291,12 +291,7 @@ public class TestCrashAPI extends TestBase implements Runnable {
if (objects.size() == 0) { if (objects.size() == 0) {
try { try {
long start = System.currentTimeMillis();
conn = getConnection(seed, false); conn = getConnection(seed, false);
long connectTime = System.currentTimeMillis() - start;
if (connectTime > 2000) {
System.out.println("??? connected in " + connectTime);
}
} catch (SQLException e) { } catch (SQLException e) {
if ("08004".equals(e.getSQLState())) { if ("08004".equals(e.getSQLState())) {
// Wrong user/password [08004] // Wrong user/password [08004]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论