提交 dc791464 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Disable PostgreSQL logging in places where failure is expected

上级 b3f996cd
......@@ -747,7 +747,7 @@ public class TestTransactionStore extends TestBase {
Class.forName("org.postgresql.Driver");
for (int i = 0; i < connectionCount; i++) {
Connection conn = DriverManager.getConnection(
"jdbc:postgresql:test", "sa", "sa");
"jdbc:postgresql:test?loggerLevel=OFF", "sa", "sa");
statements.add(conn.createStatement());
}
} catch (Exception e) {
......
......@@ -54,7 +54,7 @@ public class TestNestedJoins extends TestBase {
try {
Class.forName("org.postgresql.Driver");
Connection c2 = DriverManager.getConnection("jdbc:postgresql:test", "sa", "sa");
Connection c2 = DriverManager.getConnection("jdbc:postgresql:test?loggerLevel=OFF", "sa", "sa");
dbs.add(c2.createStatement());
} catch (Exception e) {
// database not installed - ok
......
......@@ -53,7 +53,7 @@ public class TestOuterJoins extends TestBase {
try {
Class.forName("org.postgresql.Driver");
Connection c2 = DriverManager.getConnection(
"jdbc:postgresql:test", "sa", "sa");
"jdbc:postgresql:test?loggerLevel=OFF", "sa", "sa");
dbs.add(c2.createStatement());
} catch (Exception e) {
// database not installed - ok
......
......@@ -50,7 +50,7 @@ public class TestRandomCompare extends TestBase {
try {
Class.forName("org.postgresql.Driver");
Connection c2 = DriverManager.getConnection(
"jdbc:postgresql:test", "sa", "sa");
"jdbc:postgresql:test?loggerLevel=OFF", "sa", "sa");
dbs.add(c2.createStatement());
} catch (Exception e) {
// database not installed - ok
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论