未验证 提交 5e9859fd 编写于 作者: H huili 提交者: GitHub

Merge pull request #6384 from taosdata/xiaoping/add_test_case

add jdbc test case
...@@ -296,6 +296,14 @@ public class TSDBPreparedStatementTest { ...@@ -296,6 +296,14 @@ public class TSDBPreparedStatementTest {
} }
} }
@Test
public void createTwoSameDbTest() throws SQLException {
Statement stmt = conn.createStatement();
stmt.execute("create database dbtest");
Assert.assertThrows(SQLException.class, () -> stmt.execute("create database dbtest"));
}
@Test @Test
public void setBoolean() throws SQLException { public void setBoolean() throws SQLException {
// given // given
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册