add test case
This commit is contained in:
parent
15aecd4882
commit
5da8332573
|
@ -388,6 +388,14 @@ public class TSDBPreparedStatementTest {
|
|||
Assert.assertEquals(numOfRows, rows);
|
||||
|
||||
}
|
||||
|
||||
@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
|
||||
public void setBoolean() throws SQLException {
|
||||
|
|
Loading…
Reference in New Issue