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 ff74323 commit 86d32c3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public PostgreSQLCapacityExpansionIT() {
Constant.oriPort = dbConf.getDBCEPortMap().get(Constant.ORI_PORT_NAME);
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");
wrongExtraParams.add("username:postgres, password:wrong");
wrongExtraParams.add("username:wrong, password:postgres");
}

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

0 comments on commit 86d32c3

Please sign in to comment.