Skip to content

Commit

Permalink
fix test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwy committed Jun 6, 2022
1 parent aa256f6 commit 0944890
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private DruidDataSource getMySQLPool(int port, String host, String database, Str
@Override
@SneakyThrows
public Future<NewMycatConnection> getConnection(String targetName) {
NewMycatConnectionImpl newMycatConnection = new NewMycatConnectionImpl(targetName,nameMap.get(targetName).getConnection());
NewMycatConnectionImpl newMycatConnection = new NewMycatConnectionImpl(true ,nameMap.get(targetName).getConnection());
return Future.succeededFuture(newMycatConnection);
}

Expand Down

0 comments on commit 0944890

Please sign in to comment.