Merge pull request #6384 from taosdata/xiaoping/add_test_case
add jdbc test case
This commit is contained in:
commit
5e9859fdf6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue