提交 1dc816b5 authored 作者: Noel Grandin's avatar Noel Grandin

fix test

上级 3a94dbab
......@@ -1125,12 +1125,12 @@ public class TestTools extends TestDb {
final int prt = tcpServerWithPassword.getPort();
remainingServers.add(tcpServerWithPassword);
// must not be able to create new db
new AssertThrows(ErrorCode.DATABASE_NOT_FOUND_1) {
new AssertThrows(ErrorCode.DATABASE_NOT_FOUND_2) {
@Override
public void test() throws SQLException {
getConnection("jdbc:h2:tcp://localhost:"+prt+"/test2", "sa", "");
}};
new AssertThrows(ErrorCode.DATABASE_NOT_FOUND_1) {
new AssertThrows(ErrorCode.DATABASE_NOT_FOUND_2) {
@Override
public void test() throws SQLException {
getConnection("jdbc:h2:tcp://localhost:"+prt+"/test2;ifexists=false", "sa", "");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论