Skip to content

Commit

Permalink
give limited access to pg
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyano committed May 7, 2024
1 parent 86d32c3 commit b096322
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public PostgreSQLCapacityExpansionIT() {
Constant.expPort = dbConf.getDBCEPortMap().get(Constant.EXP_PORT_NAME);
Constant.readOnlyPort = dbConf.getDBCEPortMap().get(Constant.READ_ONLY_PORT_NAME);
wrongExtraParams.add("username:wrong, password:postgres");
// wrong password situation cannot be tested because trust mode is used
}

/** 执行一个简单查询1000次,测试是否会使连接池耗尽,来验证PG的dummy查询是否正确释放连接 */
Expand Down

0 comments on commit b096322

Please sign in to comment.